I've been through loads of tutorials, etc on Zend Framework 2 but I can't seem to find a single general overview which describes the base components and logic flow in a simplistic manner.
All tutorials available at the moment seem to make huge assumptions and simply give code examples that solve specific problems without going into the fundamental ideas behind them. The ZF2 documentation is the main culprit for this.
This is the most useful thing I've found for a general overview although this is out-dated now: http://zendframework2.de/en/cheat-sheet.html
Any ideas anyone?
The best place to go and read about Zend Framework 2 is the ZF2's manual of course.
http://framework.zend.com/manual/2.1/en/index.html
I would also recommend you to follow the webinars at the Zend website that are related to ZF2
http://www.zend.com/en/resources/webinars/framework
BLOGS:
Matthew Weier O'Phinney is the lead developer of the ZF2 project and kind of the guy that know everything in ZF2. He has a blog where he shares interesting talks, concepts and ideas related to ZF2 and PHP.
http://www.mwop.net/
Even Coury is a contributor to the ZF2 and the creator of the ModuleManager. He has some great modules on his github and blog that are to be followed :)
http://blog.evan.pro/
Ralph Schindler is anothe contributors to the ZF2 that has a blog and often post cool things and concepts about zf2
http://ralphschindler.com/
EDIT for the blogs part:
I recently found out that the framework.zend.com website provides a list of the contributors of the project. This list provides information about the github accounts and the blogs of those contributors (if they have stated any). Looking there you can also find useful resources about ZF2. Here is the link:
http://framework.zend.com/participate/contributors
And there is one guy Alexander Romanenko that makes a you tube seria about ZF2 application development. He touches on a lot of aspects and important components of the ZF2. Right now there are 9 videos where he starts building application taking into consideration a lot of things related to day-to-day web development
https://www.youtube.com/feed/UCLgC6BIGw2brdJK7Lb4elpg
Hope this helps :)
I found this helpful:
http://zf2cheatsheet.com
Hope it helps!
I would recommend the "Using Zend Framework 2" book available here:
https://leanpub.com/using-zend-framework-2
Related
Since Zend 1.xx and in new Zend 2.2.4 yesterday I found that Zend had removed Command Line interface and instead in their tutorials they had referred to a skeleton Application.
I had investigated and found that Zend had now focused on their documentation quite a good way like never before.
In their initial tutorials I was having some questions in section "Routing and controllers" where I am having difficulty on understanding the configuration scopes in "module.config.php" file located in module/Album/config/module.config.php (as per Zend's official User Guide)
Based on my shared above details I need two items of help from you.
A clear clarification on the configuration used and available in "module.config.php" as detailed as possible. Any external tutorial can be helpful a lot.
Any additional tutorial where I can see and understand creating my own Skeleton Application using Zend framework.
As far as your first question is concerned, please check out my Blog about Understanding ZF2 Configuration.
As far as your second question is concerned, I'd question your reasoning. The sense of the ZendSkelettonApplication is to be the starting point for all your applications. Understanding what happens under the hood inside the Skeleton you pretty much have two options:
You use a Debugger like xDebug and basically follow the Applications workflow starting public/index.php and you understand that
You take the Zend Framework Fundamentals Course - the internals of ZF2 will be described in that.
I was looking for a fresh forum software (threaded) or bulletin board (flat/partitioned). And I'm wondering if there's an implementation based on one of the big PHP frameworks (CodeIgniter, Kohana, Yii, CakePHP, ZF, Seagull, Fusebox, Symfony, eZ, Prado, or whatever...).
Reason: A framework based implementation would be inherently more secure, because of ORM and validation and abstracted processing logic. And also would be good showcase of the framework itself.
Tutorials and example implementations of e.g. blogs are frequent for each PHP framework. But I didn't find much in the area of forums/boards. There was only a single implementation "sfSimpleForumPlugin" for Symfony, in alpha stage and seemingly abandoned, too bare-bones for practical use anyway.
However I'm surely not looking for a feature-bloated forum script. Just the common functionality, and ;) an excellent sample application for the particular PHP framework.
It's surprisingly hard to google. Is there something? Framework homepages not helpful. (And they all use phpBB or something.)
The new version 2 release of Vanilla Forums has just been recoded from scratch as an application that runs on a new PHP MVC framework called Garden. While most have probably not heard of Garden, I think the fact that it powers such a popular forum package ("382,287 sites use Vanilla Forums") stands as somewhat of a testament. If you view Vanilla's application code on GitHub, you can see that the folder structure looks similar to what you would find in other MVC frameworks. Although there doesn't seem to be an official website for the framework yet, the author has released a series of blog posts that give some insight into why the framework was developed and what features it contains.
There are many:
CupCake forum on CakePHP
Web3CMS on Yii
Also interesting for you: Comparison of Internet forum software (PHP)
I'm looking for a good solution to integrate a forum into a symfony application.
Something like phpBB would be excellent. I've seen phpBB plugins to integrate with symfony but that's not enough for my purposes, also, mapping database tables is a lame approach in my opinion.
If anybody knows a good working forum component for Symfony then I would really apreciate it. :)
Also, it needs to work with Doctrine.
Thanks!
I've found sfDoctrineSimpleForumPlugin Thanks for all the responses, hope this works :) !
The author made even some changes today after this post
If you're discounting the prestaForumConnectorPlugin which connects sfGuard and PHPBB3, then you may have to write your own connector. You should check if any resources exist on the websites of your favourite PHP forum.
One option is Invision Power Board (IPB) v3, as their developer resources explain how to integrate your own code (ie. symfony) into their system, including single sign-on: http://community.invisionpower.com/resources/official.html?category=41
I have integrated IPB v2 with symfony, and it wasn't ideal - there was no developer interface at that time to make IPB respect symfony. I had to hack around in the IPB source to make it work, but after discussing it with Invision was assured this would not be necessary with v3. This seems to now exist, which would be where I would start.
NB. IPB is not free, so hopefully this is not a sticking point for you.
I've integrated Phorum with symfony before - there's some old and semi-out of date documentation on the web for doing this, but essentially Phorum has an architecture that allows its user authentication to be easily overridden. You will then need to write a controller to wrap the forum calls too, and apply the main site templating (if you need that).
There are a couple of forums which use the Symfony frmaework. They are listed on the Symfony forum plugins page.
The most popular is the sfSimpleForum, which was built by Francois Zaninotto, one of the original Symfony developers.
There is little development in this area however, possibly because forums are the 'old' way of allowing users interact online and are gradually being replaced with new techniques.
I was wondering if any of you would be able to recommend some of your favorite open source php applications in terms of code quality and proper programming technique.
Though I have been using frameworks for quite a while, I would love to see how professional applications go about this.
I'm particularly interested in
MVC
authentication
Thanks a million!
Edit: Perhaps I didn't explain too clearly. What I was looking for most are fully functional applications that have their own built-in custom frameworks. I want to see how a professional level app is built and structured when there's no consideration for it's own framework to be used by others.
That being said, it looks like zend is the way to go! Thanks for the suggestions. I will take a look!
I would recommend the Zend Framework, which supports MVC, Authentication, and that's just the tip of the iceberg.
Edit: Since I apparently misread, you can probably take a look at source code such as
http://www.manning.com/allen/ZFiA_Code.zip
( From the Manning Zend Framework in Action book )
Another book that provides full source code to a CMS is Pro Zend Techniques:
http://www.apress.com/book/downloadfile/4469
Here's a whole slew of search results for applications tagged with Zend on github:
http://github.com/search?q=zend&type=Repositories&x=0&y=0
WordPress may be a good app to the end user, but it would be bad to learn good PHP code from. I agree that the Zend Framework is an excellent place to start. Not only is there code very good, but they have excellent documentation and tutorials. I would start here: http://www.framework.zend.com/manual/en/
Zend Framework provides both MVC and authentication/access control. For auth and access look at Zend_Auth and Zend_Acl.
This is a good guide to getting started with MVC in Zend: http://www.framework.zend.com/docs/quickstart
Some applications that have been built around the Zend Framework include Magento (an ecommerce engine) and Digitalus (a CMS). Both are open source.
Take a look at the Zend Framework.
It is a great example of object oriented code, using MVC.
There's also a whole set of classes related to authentication, implemented in an easy to understand and extensible way: http://framework.zend.com/manual/en/zend.auth.html
I am starting a new project with my new employer. I am used to developing applications in Ruby on Rails. The team I am working with are more orientated to PHP and have decided they would like to use Zend framework for our new project. I am already reasonably familiar with PHP but not Zend.
I am looking for any resources that may make my transition from Rails to Zend smooth. So any books, pod casts, videos or links that you would recommend would be very much appreciated.
Thanks everyone!
The Zend Framework site its self has a pretty good amount of literature that could help you out.
Quick Start (pretty good step-by-step guide to creating an application)
Videos
Documentation (lots of code samples)
Training
The Zend Developer Zone has some good articles on it.
Steven Macintyre has a good selection of articles written on the Zend Framework including a series on creating a CMS with it.
The Zend Framework in Action book and blog are both pretty good resources as well.
The Beginning Zend Framework book isn't that bad either, but I'm not sure how out-dated it is since I know they've had a few releases in the past couple months.
The Zend Framework (like many OSS projects) tends to change pretty quickly so finding blogs and pod casts will probably be a little better, and safer, than buying a bunch of a books on it.
There is a free electronic-book (still a work in progress, and not finished yet ; but the first 9 or 10 chapters are there, and there are some nice ideas already) called Survive The Deep End
Disclaimer : I'm responsible for the french translation (not published yet) -- so I might be a bit biased.
You can take a look at my free book for Zend Framework:
Zend Framework: Surviving The Deep End
The first 10 chapters are up online so far. It follows the development of a blog application in quite a bit of detail discussing Zend Framework features, issues met, and lots of information on melding all those components together with best practices.
A ton of great videos can also be found at: http://www.zendcasts.com/
In addition my favorite forum for things ZF would be: http://www.zfforums.com/
Rob Allen has written an excellent tutorial on getting started with ZF and he's also constantly updating it. You can find it here: http://akrabat.com/zend-framework-tutorial/