Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
olback109937yHave to say that I like php a lot, don't really know why people hate it so much. I love it. It's quite simple imo.
-
lotd79277yAre you familiar with programming already? If not I would suggest learning the language first without any framework.
Frameworks:
Convenience: laravel,
Performance: phalcon,
PSR adherence: hawkbit.
There is also zend, Zend Expressive is pretty interesting tbh. -
Wack63167ySo first of all to explain a little of the hate against PHP.
PHP has a lot of old dept. The language was just a scripting language. You are still able to write "Spagetthi-Code", wich means basically no structure. You can have functions in a globale namespace like javascript, but at the same time you can work in a fully object oriented way, with namespaces like java. Since php 7 you can work with static types and kind of compiled bytecode. A lot of tutorial features insecure mysql or mysqli examples. You shojld use PDO.
Now for your question about frameworks: I personally use Symfony (but have worked with Zend and Yii as well). For DB interactions, so far I used Doctrine as it's nicely integrated with Symfony. As frontend engine, I use twig, not only for Symfony, but also for things like Craft CMS.
Stay away from wordpress. Try something like http://sulu.io instead.
If you have any questions about PHP or different frameworks, just let me know. -
vannrith1297y@lotd yeah, i knew some basic php since i am a front end developer. Thanks for information
-
vannrith1297y@pascalwacker im a wordpress user as well. But my goal is to actually build s.th, not using like that. I heard a lot about codeigniter is easy to install. Anyway thanks for you info, i just want to know how to learn it correctly, practice correctly and not go like blind. Best recommendations so far, i should use PDO, and learn ot from scratch before starting framework. Anyway, what is the best resource?
-
vannrith1297y@QCat the biggest worry of mine when i choose a framework that evolve with command line, is finding hosting to host that app.. im on budget, m not sure if it run on shared cpanel hosting.
Can u give more info abt this? -
Wack63167yYou can alsways work on a local VM, if it's for "training". Go checkout Vagrant (and if you're lazy like me https://puphpet.com
-
vannrith1297y@pascalwacker i see, but i prefer set it up myself. But when i buy a cheap hosting, nothing i can do 😂
-
philcr30597y@ScribeOfGoD @vannrith it's arcane and although widely used I don't like it. Personal preference
Related Rants
-
ahmedam23What only relying on JavaScript for HTML form input validation looks like
-
Korvax31Italian chef: We have the best spaghetti in the world PHP developer: I doubt that
-
isaacWeisberg21Me and my wife are software engineers Started dating while doing a project together I guess you could say that...
New to PHP, need recommendation to get start :)
And basic framework as well
undefined
php
web development