![]() |
Messin' around with PHP Frameworks...
I've decided to try to take some of the bit of time I have lately to improve on my php skills. I've got some ideas for bigger projects that would take me forever to code I think. I'm lookin around at frameworks, ran in to CodeIgniter, Yii, Kohana the most.
I know there are several amazing coders out there, and I also know that at least some of you are using one framework or another. I'm wondering which one would be the best one to get going with this framework stuff. Right now I'm using PhpED and a WAMP server for development. Any of you "l33t cod3rs" out there using something other than notepad? :upsidedow |
Yes,i using notepad ++ ;)
|
Codeigniter would be the easiest to start with. It's a 2-minute install, you don't need shell access and they have awesome documentation
|
posting this for humor value, not as any kind of personal recommendation:
|
CI is fine...
Notepad ++ or EmEditor for editing... |
EditPlus 2 for PC.
|
CI is neet
|
Quote:
|
Quote:
heres a link to the 1st of 17 tutes http://net.tutsplus.com/articles/new...scratch-day-1/ |
Dream weaver
|
text pad here.
|
cakephp.org is the shit!
|
phped with wamp is a ghood choice, combine it with http://trac.edgewall.org/ and you are set
|
CI or Kohana (a fork of CI), both are good but CI has the better documentation. It's especially a good place to learn to write better PHP and learn basic MVC. Follow the NetTuts link posted earlier. The NetTuts tutorials on CI are very good. You may end up moving to Kohana or other depending on your skill level and preferences.
|
Thanks, I'm gonna check out some of those other editors. I'm kinda liking PhpED though. I'll give Cake another look I suppose, but the fans of CI seem to have my google search for "php frameworks" overtaken. And yeah, the tutorials are everywhere.
|
yeah, this shit is ridiculous. It kinda seems like a whole new puzzle trying to put these different ways of doing the same thing together.
I took a look at CI and Yii. CI seemed less complicated, but then Yii seemed more powerful. Common Factor: I don't think I could do shit without the tutorials :-\ I dunno. Maybe I just gotta pick one, stick with it. But it seems more complicated than a standard functions.php full of functions and a quick reference to it in your index.php using standard php. I'm no pro, by any means, but I've spent the last few days stuck on tutorials and reading reading reading and trying to code something using the MVC methods in those 2 frameworks, and even though I'm just a novice php guy, I could have significantly coded more than I did on those frameworks. I fail. :-( and the NetTuts are deprecated now it seems when using the newest CI. Which brings about concern, are they going to change everything on every release. Seems counter-productive for a system that claims to increase productivity. |
Personally, I wouldn't even bother with any of those frameworks, as many of them are bloated pieces of shit, and are only going to confuse you. For example, instead of telling you to learn simple SQL queries, they'll tell you an SQL query should look like:
Code:
$db->select("id,name")->from("customers")->where("name = 'John'")->order_by("id")->limit(50); You're best off just writing your own framework from scratch. Can't find the one tutorial I really liked, but just Google writing your own simple MVC framework. Look into mod_rewrite, how it works, and start learning from there. It's honestly not that difficult, and definitely nowhere near as difficult as many of the "professional" tutorial writers make it out to be. PS. While learning, make sure you're solving a problem. Don't just try to learn everything like you would history, for example. Pick a problem, and learn how to solve it. Then pick another problem, and learn how to solve that, and so on. |
If you control the environment skip PHP frameworks and go with Ruby on Rails, they just don't compare.
|
NetBeans works great but you have to have alot of RAM (I have 8GB).
|
vim has pretty neato syntax highlighting.
|
All times are GMT -7. The time now is 02:40 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc