I’ve built basic blogs and forums using PHP/MySQL back in the 90s. Since then i’ve only been playing with Drupal, WordPress, etc… and have done crap all raw coding (plugins, modules, themes, that sort’ve thing, but that’s about it).
I don’t know shit about MVC except the basic "what it is" from Wikipedia etc.
I want to learn a good PHP framework to eventually code my own web app for a startup idea I have. It’s the sort of thing I could use WordPress or Drupal for (with LOTS of customisation) but I also want this to be a learning experiment, so would rather make it myself.
I’ve looked at CodeIngniter, Kohana, FuelPHP, etc, but they all say they’re the best.
For someone starting now, who wants to work into the future using a Framework, which one should I learn?
Or should I learn Ruby or whatever, even though i’ve never touched it in my life?
Since you’re a seasoned PHP Dev, I’d suggest something like Kohana. My main sell-points on Kohana is simply that it’s lightweight, well documented, and pure PHP5. Granted, certain frameworks do certain things better than other frameworks, but Kohana has always been my goto.
Kohana seems to get lots of good reviews, but holy shit the doco is crap
Entire sections are just empty pages..
etc.
Googling around though and found a few tutorials. Gunna do a few this weekend.
I just started using codeignitor. I’ve heard of the frameworks before, but never paid much attention. Now I wish I hadn’t been living under a rock. Would have made a few projects so much easier!
I had a good experience with Akelos, picked it to do some Ajax stuff. It’s based off of MVC if I remember correctly.
So many fucking frameworks
CakePHP, Kohana, CodeIgniter, Zend, Akelos, etc etc etc.
All the comparison posts that come up in Google are useless too because each one is very clearly biased towards one or the other.
I guess I just roll a dice and pick one…
Found a recent post on SO that all seem to point to Kohana being the best atm.
So gunna give that a proper shot. As usual I should just shut up and do whatever kingtoad says in the first place, and not doubt his wisdom
subtle i’m an idiot post
K bro.
If you’re making a site that 5 people will use at a time, by all means use a framework.
If you want 15,000 to use it at the same time, good luck, unless you have an "enterprise budget" for hardware.
|
K bro.
If you’re making a site that 5 people will use at a time, by all means use a framework. If you want 15,000 to use it at the same time, good luck, unless you have an "enterprise budget" for hardware. |
subtle i’m an idiot post
I speak from experience, you speak from your ass.
Uhh, no.
We’ve had this debate multiple times before, and it usually ends up on you agreeing with our points due to the exceptions and the purpose of why frameworks exist in the first place.
And that’s usually mentioned after you spent a page preaching how you write everything on your own with no strict timeline and don’t have other developers touching it.
Wash. Rinse. Repeat.
It’s old. Stop trolling these threads.