+ 3

Hi! If you are a PHP coder, do you prefer writing from scratch or using framework?

If you are using framework, which one do you prefer and why? I'm just asking for opinions. 😊 Thanks in advance.

22nd Apr 2018, 2:12 PM
Azwan Abdullah
Azwan Abdullah - avatar
6 Antworten
+ 3
well to me honest im not specific with one,sometimes i ise raw code,and sometimes when try to recreate something from scratch is too stressful,i just use a library.But on Normal grounds i personally prefer raw coding.its better to know the roots of something.this applies to all languages
22nd Apr 2018, 2:35 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 1
I prefer laravel framework
22nd Apr 2018, 2:16 PM
Aung Khant Kyw
Aung Khant Kyw - avatar
+ 1
scratch. I've tried many frameworks over the years and they all come with overhead. that adds up. I prefer to write my code to be exactly what the client needs and nothing more or less. I've also found that frameworks come with limitations and sometimes you just can't get done what you need.
22nd Apr 2018, 4:41 PM
Adam
Adam - avatar
+ 1
I wouldn't recommend writing your own framework. If you do, it means your security can't be that great. A popular framework will have had multiple security experts thrashing the code, and multiple users reporting bugs, and huge numbers of people fixing those bugs. There is just no way a single person can create a secure and decent framework (I tried it once, and got quite far, but I just know it couldn't match the security of multiple experts working just on security for a framework). Even if that person was the best programmer in the world!
25th Apr 2018, 4:13 AM
Emma
+ 1
Xan Well it withstood PCI DSS 3.0 compliance and penetration testing to be a credit card gateway. I was not alone on the team but I did the front end framework and handled inputs to the back end. Another guy worked on sever security. another handled back end. another guy handled database.
25th Apr 2018, 11:35 PM
Adam
Adam - avatar
0
Scratch is preferable as it is more easy and now the 3.0 is more better because It has many more options
10th Jun 2019, 3:02 PM
Kunsh-Tyagi
Kunsh-Tyagi - avatar