Nicely Documented Simple Php Framework?
#1
Posted 18 December 2012 - 05:07 PM
I want to study frameworks but the problem is that the big ones like Zend and Yii are very difficult to be understood by someone who has never dealt with frameworks before. I tried going over to simpler ones, but their documentation is simply horrible - "This framework is documented by itself" Told you, simply terrible.
So if you can be so kind to point me to a simple and well documented framework so that I have get the hung of these stuff, I will be very grateful.
Thank you!
Best Regards
Stefany
"Never take counsel of your fears!" - Stonewall Jackson
My site - http://dyulgerova.info
#2
Posted 18 December 2012 - 06:24 PM
#3
Posted 18 December 2012 - 09:36 PM
http://thorpesystems.com | http://proemframework.org | http://github.com/trq
SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
#4
Posted 19 December 2012 - 01:00 AM
It also has a micro framework based on it named Silex, which is more minimal/library based yet shares the same components as the full stack Symfony2, and microframeworks are cool for learning the pieces of a framework without all the complexity (see trq's Proem for another example). I personally wouldn't advise you spend a minute with any framework that isn't already using Composer.
With that said, any of these frameworks comes with a fair amount of complexity, unless you have a good idea what MVC, Validators, Forms, ORM's, Templates etc. fit into the mix. Often what I find is that the frameworks have good introduction to the surface level, but as soon as you want to do something that veers from the simplistic, you're quickly in over your head, and this is why many framework people don't even try to have much in the way of documentation.
#5
Posted 22 December 2012 - 01:59 PM
@gizmola, thank you so much for the detailed explanation, I value it a lot!
"Never take counsel of your fears!" - Stonewall Jackson
My site - http://dyulgerova.info
#6
Posted 23 December 2012 - 03:10 PM
#7
Posted 23 December 2012 - 08:45 PM
How to Get Good Help: How to Ask Questions | Don't be a help vampire
Debugging Your Code: Debugging your SQL | What does a php function do? | What does a term mean? | Don't see any errors?
Things You Should Do: Normalize Your Data | use print_r() or var_dump()
Lulz: "Functions should not have side effects." - trq
Please take a look at my new PHP/Web Dev blog: The Web Mason - Thanks!!
#8
Posted 24 December 2012 - 07:00 PM
I got as far as the CRUD that Yii gives you, but then got completely overwhelmed from then on.
The Symfony guide was great until I ran out of steam at the point where they too suddenly lapsed into "we're going to assume you know what we mean" eventually. I don't know if I'll ever get the hang of it all
I'd rather write all my own stuff so I know what's going on, but I lack the skills to make it pretty. Maybe I should just manually add to what Yii gave me at the CRUD stage, ignoring the rest of the bazillions of classes and interactions they all seem to find easy to learn but I don't.
Their only tutorial approach seems to be "here, sit down and study this example for many frustrating hours, see how you get on" - rather than a step by step bitesize guide where we can take it one manageable chunk at a time, feeling a little bit smarter every few minutes. That's the only way of learning I can cope with, so I'm left high and dry by frameworks
#9
Posted 02 January 2013 - 06:59 AM
And when you feel comfortable with codeigniter, and if you feel like you miss something, or maybe wonder if some things can be done in a better/nicer way, start searching for other frameworks.
My personal favorite is laravel(If you ever have developed in asp.net you will feel at home), and another good framework is fuelPHP.
It's hard to just give you a framework, try them out, read their documentation and then you can reflect on what bests suits you or your project.
best regards
mygan
#10
Posted 02 January 2013 - 02:07 PM
http://thorpesystems.com | http://proemframework.org | http://github.com/trq
SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
#11
Posted 03 January 2013 - 12:06 AM
Imagine there is food, shelter and a computer...for every child
#12
Posted 03 January 2013 - 04:52 PM
Sorry, but Codeignitor is a bad example of a framework and should be avoided like the plague. It's design is terrible, and as an example, it's not something you should be learning from.
Agreed!
#13
Posted 04 January 2013 - 04:56 AM
I can sympathise with Electro808 with regards to the time it takes to fully learn a framework, the only way to do it is to practice though. That said the time lapse between the OP and his brick wall is 7 days: you can't expect to fully learn a framework in 7 days unless you work at it non-stop. I think you need to spend more time on it.
Edited by CPD, 04 January 2013 - 04:57 AM.
"One of my most productive days was throwing away 1000 lines of code."
#14
Posted 15 June 2013 - 09:46 PM
Codeigniter has less learning curve and has more support in online compared to other frameworks. Codeigniter has large community support and resources. It is one of the mostly used MVC frameworks.
#15
Posted 15 June 2013 - 11:19 PM
Codeigniter has less learning curve and has more support in online compared to other frameworks. Codeigniter has large community support and resources. It is one of the mostly used MVC frameworks.
The OP said he wanted to study PHP frameworks. Codeignitor is probably one of the worst designed frameworks around. It isn't going to teach the OP anything about good design or best coding practices. I always recommend it (CI) be avoided.
The only reason to study CI would be to learn how to not build a framework.
http://thorpesystems.com | http://proemframework.org | http://github.com/trq
SmtpCatcher - A very simple mock sendmail useful for testing PHP mail scripts.
#16
Posted 16 June 2013 - 05:37 PM
Codeigniter has less learning curve and has more support in online compared to other frameworks. Codeigniter has large community support and resources. It is one of the mostly used MVC frameworks.
Due to my longtime use of CodeIgniter I'd say the argument that is has large community support and resources is actually no longer something that should be said. Over time most of the serious devs have moved on, and "the community" aka the people who still use the forum seem to be mostly noobs that speak English through Google translate. The resouces that used to be in the wiki were at one point moved to github and most were not updated so most of the downloads disappeared. My biggest problem with CodeIgniter isn't so much that it's technically inferior, but that development is dead and if they ever do officially release v3 the license makes it unusable for me and the type of clients I want to do business with. Go with Laravel, Symphony, Yii, Cake, Slim, or anything else. Spending time with CodeIgniter is now just a waste of your time, and time is money....
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












