Search the Community
Showing results for tags 'opinion'.
Found 3 results
Hey guys, i've got a webpage which is password safe by htaccess, but i want to change a few things and i'd like to hear your opinions of how i should execute it at the end. What i've got is: you enter the webpage then you have 1 account to login with via htaccess and then you're on the webpage. What i want is: Something more safe than htaccess. That i can add more users with where i can see when they were last online etc. And idk if htaccess is bruteforce safe but i also need that. My plan was to create a landing page with a login mask connected to an sql database, where all the accounts are managed. Plus the landing page will be with google recaptcha or something like that. What i need to know is, is this the best way to handle all this or do you guys recommend something else? Much appreciated Greetings, Merdo
Do you use ORM in your production or commercial application? I think ORMs are good for maintaining OO relation with datbase, But it has its limitation. For DML ORM is great for faster development and minimize duplication of code. But for DQL I think it is hard to do complex SQLs with ORM. Raw SQL would go along well. I have read somewhere it is not good to fit something like RDBMS to OO which it is not. Anyway i dont know how many open source and commercial application uses it. It looks like OSCommerce prefer to not use ORM. I have own written active record like ORM which uses Reflection to map the classess. It works well with DML and DQL (one to one,one to many relations). But have some issues with many to many relations (It could be resolved though i think). Though it serving well , I am not much happy with it as i expected. I can even see if i use Raw SQL i could even mnimize (for DQL) one or two query than that ORM. Though that helps to reduce writing code manually a lot. Conclussion, I have decided to use it in DML part. and change the DQL part to be raw SQL specially in many to many relations table and complex queries. From this disappointment i look into other ORM like doctrine or propel. But they have learning curve and fairly complex. They I think do lot of things than i need. Currently I am not in position to invest time to read and grasp whole doctrine/propel and at the end , find the same conclussion as above. I know benfits and drawbacks of ORM, still hearing any experience regarding this would helpful. Another query does Doctrine supports temporary tables or not ? Even I tried to install doctrine. But composer showing some error. Before i resolved it and invest time. i would like to hear your story with ORM.