Programmer's Reference Guide

Erstellen eines Formulars

Gratulation!

Es wurde eine sehr einfache Anwendung erstellt indem einige der üblichsten Zend Framework Komponenten verwendet wurden. Zend Framework stellt viele Komponenten zur Verfügung welche übliche Anforderungen für Web Anwendungen behandeln, inklusive Web Services, Suchen, PDF's Lesen und Schreiben, Authentifizierung, Authorisierung und viele mehr. Der Referenz Guide ist ein großartiger Platz um mehr über die Komponenten zu erfahren welche man in diesem Schnellstart verwendet hat, wie auch über andere Komponenten. Wir hoffen das Sie Zend Framework nützlich finden - und wichtiger - Spass damit haben!


Erstellen eines Formulars

Comments

Anyway, that's great! Thank you, guys!
Thanks for all the hard work!

I've finished the quickstart guide successfully, but I have no clue what I did...

All I want to do is use Zend Framework with a MySQL db that I've already created. Make it as simple as possible. Unfortunately 2 houres on the guide made me only confused...

Mayby I'm wrong and it did help quite a bit, we'll see...
In my humble opinion this quickstart guide is not very quick it takes far too long to get set up, that's if you ever get set up! There must be something Zend can do to make the who setup procedure far far more simpler. I mean do you really want to go through all that just to get setup!?...I feel there are just too many places at which a simple typo can just put a spanner in the works, too many points where things can go wrong. There isn't even a the contents of the .htaccess file in this guide!?
Thanks for the tut!

@dreake: I don't think you understand the point of the tutorial.

@Lorcan: perhaps you should learn about the whole MVC concept before trying to work with Zend, or just choose not to use it, as writing plain old SQL queries is much simpler for small scripts.

@Mahmood: you're right, it isn't quick at all, but actually this isn't a "setup guide" but a (quick)start guide. It's intended for programmers who are familliar with PHP programming, OOP, MVC, etc. and want to learn the Zend Framework. Being a tutorial, it's very nice.

Nice Tutorial,

Coming from knowing MySql, I got a bit hung up on the sqlite, because I had never used it before. It may be worth mentioning that sqlite is a database that stores data in files, and the files are going into data/db.

Also, it would be helpful to be more clear about where to put the data/db folder, and the scripts folder with the load.sqlite.sql and other files.

Thanks
I thought this quickstart worked well. I did have to do some extra research to get my zf.bat to work with my Wamp Server. FYI: If using wamp server and you edit the php.ini file from the menu bar it wont work. Have to edit from the bin/php directory. The zf.bat file makes your life really easy when it comes to creating this. Thanks again guys. You guys rock.
Thanks for this excellent tutorial. Honestly, it was somewhat hard to figure out some parts (especially sqlite as I'm working with mySQL).
@dreake ZendFramework is build for large scale projects, this is just an example. To build more advanced features you'll need only few more lines of code. However, if you were working with some other framework this start would be less "painful", but writing additional features and expending your application - I'm sure it would be more complicated.
instructions are not for beginners.
it's hard to follow and complicated.

ftw. this isn't a quickstart guide.
@kraxor <- lol are you joking?

-
the captcha on this page is buggy. hehe. :)
It took me 3 days to get everything working properly. I used mysql database, therefore I had to figure out that part separately. But, I got it now and I like it.
You surely need to be a quite an advanced coder to understand the tutorial.
Unfortunately (for newbies) it's not mentioned at the beginning. Period!

If you are advanced you do not need to read the MVC sh_t on page 1, then you can time-travel past the useless sqlite-magic puzzle (so what? are we now using sqlite for "large scale project" in the future? what do u think?), and finally you end up here in less than 5 minutes to leave this comment:

If this tutorial is for beginners (I can only imagine how much) it sucks!
If this tutorial is for advanced guys it sucks even more (and I can tell as much)!

How did they let you do that?
As said before thats no beginners guide to php.
Once you got your models and mappers done it's a walk in the park.
But its by no means easy to get a blog started unlike some other Frameworks which provide you with a pre-made 'blog' template where you are up and 'running' in 5minutes.

They should really get this down to be for advanced OR beginners and not try to cater both in one tutorial.
Happy to have made it to the end as a beginner, although I did get snagged on something maybe you advanced guys can help me out with.

On the previous page for GuestbookController the tutorial decides to get rid of the "Index Action()" method:

// snipping indexAction()...

Yet when this is done my application fails. I had to put it back in to work. What was I supposed to do? Thanks

And also, I must not be advanced enough to understand why the captcha on this page is so difficult to match.
@Jason

In code examples, when someone types 'snipping' or 'snip', that means they are removing that section in their example to make it easier to read. The indexAction code should still be there in your application, so you're right.
I totally agree with DF. I'm not that advanced, like Lorcan I'm a little bit confused (maybe because of the MCV approach...) but I also think that this example should be used with a "real" data base like MySQL (or PostgreSQL) was sweets the best to PHP.

Note : for Wamp Server be careful to edit the "..\wamp\bin\apache\Apache2.2.11\bin\php.ini" file and not "..\wamp\bin\php\php5.2.9-2\php.ini" (it's not the first time I mix up the two files...). I had strange results (sometime the include path worked, sometime not)

Oh and the last word : your captcha is crap!
Basically, thanks for this. I hit a number of pitfalls along the way but with other users' solutions in the comments (thanks to them) and a few ideas of my own (hope they help) I got everything completed and running.

I am an experienced PHP user but I must admit to being somewhat at sea with the Zend Framework at the moment. However, what I have just gone through has given me a (very) basic understanding of the development process; I certainly know more than I did. It has also given me some working code that I can examine at my leisure and tinker with to improve my understanding of what on Earth is going on in there.

The tutorial does need a bit of tidying up, cutting and pasting is messy what with # and numbers getting in the way, and some of the helpful hints from users should be incorporated. Adding MySQL, if not dumping sqlite completely, would make it much more relevant; at least use a DBMS that we are likely to use. I will refrain from making comments beyond this on coding style...

Having said all that, whereas I was totally bamboozled before I started, and thought the Zend Framework impenetrable, I now feel I can get on with it. So I guess you've served me well. Thanks again.
I had some trouble understunding the data mapper pattern but overall nice tut, thanx.
Just a couple of notes about the use sqlite
* Fair enough, SQL is not really a database like MySQL but just cos it has the word Lite in the name does not mean its 'bad'
* PHP programming language comes with both SQLite2 and SQLite3 built in - so it makes sense to use it in tutorials

See http://www.sqlite.org/famous.html


Whew, finished.

I can agree when people don't think this is suitable for beginners - because it's not. ZF is for real programmers, imo ;).

But even if you've got more experience (like I do), it'll occasionally bite you in the ass - both this tutorial, ZF, and the language itself. Some things I ran into:

* Couldn't get the ZF commandline tool to work for a long time (turned out I had the zf.bat file on two locations, both included in my PATH environment variable

* Classes not found, had to add code to the bootstrap (setting up the autoloader) to get things to work (not explained in the tutorial)

* Typos. Defining _construct (with one underscore) will not give you errors or warnings right away, it'll cause errors from the database that state that a field may not be null and things. (PHP / IDE issue)

* Errors in ZF (1.10), the solution being to hand-edit Zend/Tool/Project/Provider/Form.php and add a couple of lines. This would probably be solved with better tests and, gasp, running through the code generated by this quickstart project once before releasing.

I do hope these issues can be sorted out in future releases of the framework (as well as preventing them from happening in the first place), things like these are just frustrating and make me doubt myself ;).

Also, I got a popup saying my comment was entered, but the form itself said the captcha was wrong. Speaking of the captcha, it has some characters that are hard to interpret, like a thing that looks like an angled !.
This is a great tutorial, very helpful for getting my feet wet with Zend. Ruby on Rails is nice because it does a lot of this for you, but it's also very mysterious because so many of the details are hidden from the user. Zend requires more work on my part, but I have a LOT more control over what's going on (and it's not all over my head either!).
It's been about a month since I started this framework, I highly recommend Aptana to newbies with the Zend/PHP Plugins. It doesn't just autocomplete, but it correctly autocompletes...looking through the classes you extend and implement.
Nice tutorial! (i skipped that whole sqlite section and just put the mysql info into application.ini, as per some guys comment)

i'm obviously just learning this but it would have been nice to have the tutorial teach us the remaining CRUD functions (ie update and delete)

next stop, to try it for myself! then, some mashups with google, amazon, yahoo & etc apis etc! yee-ha! cant wait!
Zend Framework Fellows,

one fellow above said he managed to step through all of this Zend Quickstart and afterwards he did not have any clue about what he really did.

That were also my feelings juping into Zend Quickstart the other day. I admire I needed more than half a dozen of hours because of contextual misleadings and also due of my lack of knowledge here and there, of course. But that was not the point.

Zend Framework is the hugest PHP framework in the world and has best perspectives for the future. It is made by Zend, is working with PHP 5, XHTML STRICT, in conjunction with Zend Engine and Zend Server and Zend Studio and Eclipse PHP and and and, so in my opinion Zend Framework just is within the heart of dynamic website programming.

A parable: The other day a man was about to buy a horse at the horse market. A horse dealer promised to him he could go from HERE to THERE within less than 2 hours with the best horse in his stable (which really would be fantastic). "But just why should I go THERE?" the man replied and did not buy the horse. --

So, if you have to build a huge website with thousands of files or pages and several databases, nowadays there is Zend Framework, imagine to do that without any ...

And - most importantly - have fun!

Yours, Micha
Zend Framework Fellows,

one fellow above said he managed to step through all of this Zend Quickstart and afterwards he did not have any clue about what he really did.

That were also my feelings juping into Zend Quickstart the other day. I admire I needed more than half a dozen of hours because of contextual misleadings and also due of my lack of knowledge here and there, of course. But that was not the point.

Zend Framework is the hugest PHP framework in the world and has best perspectives for the future. It is made by Zend, is working with PHP 5, XHTML STRICT, in conjunction with Zend Engine and Zend Server and Zend Studio and Eclipse PHP and and and, so in my opinion Zend Framework just is within the heart of dynamic website programming.

A parable: The other day a man was about to buy a horse at the horse market. A horse dealer promised to him he could go from HERE to THERE within less than 2 hours with the best horse in his stable (which really would be fantastic). "But just why should I go THERE?" the man replied and did not buy the horse. --

So, if you have to build a huge website with thousands of files or pages and several databases, nowadays there is Zend Framework, imagine to do that without any ...

And - most importantly - have fun!

Yours, Micha
The tutorial is just complicated enough to weed out non-programmers. Devs who unfortunately still use mostly classless code will get a great deal of benefit adopting ZF OOP. The hard part lies ahead: learning and using the library. The tutorial omits details about obscure and unfamiliar library classes and methods. The ZF smart people should offer an even better library reference wiki and examples. Currently we save time be examining existing code written by those familiar with ZF as it takes way too long to discover useful library classes.

Again, depending on the use, devs who may adopt ZF should first consider Content Management Systems and other mature solutions. Don't reinvent the wheel.
Awesome tutorial, easily got it setup and finished within the hour and makes everything much more clear. I decided to adapted my a little to use Mysql as I didn't want to use Sqlite and all went smooth. A nice wiki reference site is available too.

TY Zend
Awesome tutorial, easily got it setup and finished within the hour and makes everything much more clear. I decided to adapted my a little to use Mysql as I didn't want to use Sqlite and all went smooth. A nice wiki reference site is available too.

TY Zend
am i wrong or Zend Framework makes it a real pain for starters? compared it with symfony, for instance, this tutorial would be written in just one page. does orm mean anything to Zend? integration with doctrine or propel should be native. layouts should be enabled from start, the code generate for the presentation page is not xhtml valid. In my opinion, Zend has great components, but better integrate with other framework, not to use as a full stack framework, i recommend: http://www.slideshare.net/weierophinney/using-zend-framework-with-symfony
Previously we worked with our own CMS system, which has got manz non oop function which handled the HTML pages, some files handled the database connection and so on. It took just few days to create a webpages with mediaitems, articles , and so on , because the HTML pages doesn't contains any php codes, jut some xml regulars .
The html files are int the templates folder , the modules in a fdiferrent directory, and the database handling - viewing thing in an another. It was very easy to create a new webpage with it, if the customer haven't got many new request .
Thanks guys :)
Hey everyone!

I'm back again, I took this tutorial as a Zend newbie about 3 months ago. Happy to say I'm working now using this framework and have been really enjoying it. This tutorial helped a little, but I learned pretty much everything from Keith Pope's book "Zend Framework 1.8" and "Easy PHP Websites with the Zend Framework"...

They have great reviews on Amazon, and 'may' be available for downloading on torrents*

*They are
Bonjour,

Y a pas un tutorial du style "hello" ?

Malgré la qualité du tutorial, je n'ai pas compris grand chose, ça me semble trop compliqué pour un début. J'ai du mal à comprendre l'organisation des fichiers, où ils sont situés par rapport à ma page index.php.

Vincent
i finally did it ... with mysql ... but what a painful tutorial !!
"Take our 30-minute tour" !!! come on guys ... it is a joke !!


I found this tutorial to be very helpful. With some basic understanding of OOP and PHP one can easily discover the basics of the ZF MVC context. Thanks to the author!
Great tutorial!
I'm not sure If just me or It didn't tell on what path to execute the command.

Good thing is using the SQLite. For some unprivileged windows user this is very helpul. No need to install mysql that need admin permission.

A good thing to add in the tutorial is the putting the framework path in the windows Environment variables. So that It can be executed anywhere.

Looking forward for more fun! Thank you! ZFW :) Thank you Ralph Schindler!
Great tutorial!
I'm not sure If just me or It didn't tell on what path to execute the command.

Good thing is using the SQLite. For some unprivileged windows user this is very helpul. No need to install mysql that need admin permission.

A good thing to add in the tutorial is the putting the framework path in the windows Environment variables. So that It can be executed anywhere.

Looking forward for more fun! Thank you! ZFW :) Thank you Ralph Schindler!
thanks, it is a quick start guide for the lamp developer with MVC experience
Thank you very much for this tutorial.
At first, it wasn't easy for me to follow step by step, sentence by sentence.
However I figure out to put entire source code under proper folder, use my Firefox to play with this guestbook program at local computer. Use Zend Studio to check entire source code and modify something to see what appearance and/or behaviour might change.
Eventually I installed SQLite manager, as AddOn to Firefox. I got a new experience to understand SQLite. I still may have hard time to build new project from scratch, for sure I can use existing structure to start my new project.
I'm not new to PHP. Like Rasmus himself, I seriously question the value of frameworks. However, I'm not so extreme. I use a DBAL, for example. So, I decided to "give ZF a whirl."

The tutorial is manageable. It requires non-trivial knowledge of the OS (Linux, in my case -- I had to hunt-down the library/etc) and a working knowledge of PHP. Both are reasonable prerequisites. However, I've gone through the tutorial and, well, don't feel that I've learned too terribly much. Moreover, the "uphill battle" lies ahead -- learning the classes & methods provided by Zend.

In essence, I more strongly question the value of the ZF, now. Decent programmers are already using OOP, CSS, and include files to get the "scaffolding" and "sharing" provided by ZF. You can even setup templates within your IDE (or have a set of template files to use with vi -- whatever floats your boat). The "extras" that ZF provides (e.g., XSS protection, CAPTCHA, etc) are what's drawn me to ZF... and, well, it might just be easier to bolt those on, manually.

I have to wonder if relying on a framework doesn't incur the hidden expense of stifling one's fundamental language proficiency/etc. YMMV -- just my impression and relatively-uninformed opinion...
... and let me add this: it takes sooo much time to setup a project. I honestly don't know that it's any faster using ZF than doing it all from scratch. I have set of sed, awk, and bash scripts that I use to do a lot of this stuff, already. IMHO, it takes a ridiculous amount of time to setup a new project. Again, YMMV.
Great revision. With Zend Tool, creating a project is easier an faster.
Ah, ah, ah! Good joke! Never seen such as piece of crap!
I feel great and learned a lot, thank you guys!!
Hoo...It took 2 days for me to get this running.... iam struck severely at configuring the application.ini and httpd.conf files. Then i realised everything went smooth...

what a great satisfaction i had at the end !
Zend rocks !
Excellent tutorial. I was able to write the skeleton of a working MVC app in a few hours by following the process step by step. I did not write the guestbook application described here but instead a simple file manager with upload form which I plan to expand upon.

The formatting of the zf commands are a bit mangled in this tutorial. I expect that people unfamiliar with UNIX will be unable to run some of these commands successfully. Particularly, the database configuration commands are mangled. (Looks like they were copied from a terminal with visible line continuations enabled.) You'd need to understand what you are typing to see how its wrong.

I found that I was able to write and execute my code on the first try without any problems. Most tutorials seem to miss steps which make that difficult.

I would add one caveat and that is if you do make a typo in this tutorial you may be unable to debug it at all. I suspect this is what has left many confused and lost. All you'll get is a 500 error and no record of what went wrong. A simple solution is to add Zend_Log to your ErrorController under the default label so it looks something like this (create a log directory and give the web server write access just like you did for the data/db directory):
default:
// Log the exception:
$exception = $errors->exception;
$log = new Zend_Log(
new Zend_Log_Writer_Stream(
APPLICATION_PATH . '/../log/applicationException.log'
)
);
$log->debug($exception->getMessage() . "\n" .
$exception->getTraceAsString());
// return an error response
$this->getResponse()->setHttpResponseCode(500);
$this->view->message = 'Application error';
break;
Jeesh, the CakePHP tutorial was simpler to understand. This gave me a headache!

The application is nice but I have no clue what I just did.. That wasn't the case with CakePHP

Sorry guys, you have lost me.
Zend Framework is very powerful, but too much engineering stuff inside.
If say about PHP framework I prefer CodeIgniter.

P.S. And WTF? Why I should write accessors in model by hand? Today every framework generates them automatically.
I am well known with PHP, OOP, MySql and some open source CMS's like Magento, Wordpress and Drupal. I think this tutorial is ok. It is not a step by step guide explaining everything that is given. You need some basic knowledge in advance of general stuff like OOP and MVC.

So thanks for the tutorial. For the general crowd I think an explaination of how to use mysql instead of PDO would be more interesting.


A bit too much for a "quick start", but anyway I managed to get to the "congratulation" part in about 2 hours, and I can say that the big picture seem a bit more clear now. thanks!

p.s. a "quicker quick start guide" might not be a bad idea...
Of course, it is not a beginners tuto. You will need advanced concepts to understand all the topics.

Of course if you need a framework for your project it is understandable that you have a good base of knoledgment for developping all the stages of the cicle.

I see a lot of capabilities into Zend Framework.
this " Thousands lines of code to develop simple Guestbook... =|
Are You guys joking? "

is totally true.

Thanks for the tutorial !!
I think that the tutorial is quite clear.The only part i had problems with was the part of Create a Model and Database table, in that part the commands zf configure db-adapter didn't work for me.
I think that the Zend Group tutorial creator should rewrite that part again connecting to a Mysql Database, because with MySqlite doesn't recognize the dsn dbname.

Well, thanks anyway.


Geetings from Peru :)
i'm also a little underwhelmed. the framework only complicated things. i guess in the real world you would NEVER use a framework to build such a tiny application (guestbook). a better example/tutorial would help
Hello everyone.

Well, until finally I could run the tutorial, I take more than 3 days to do so. U_U

All I can say, this tutorial only gave me a basic idea of what it proposes zend, as read out there, this tutorial on symfony consist of a page. Anyway, things zend.

Greetings people from Lima - Peru .. =D

zend rules ...!!!
Hi,

installing and setting everything up took me some time.
Some issues I had:
- Standard zend server Ubuntu package installation came with a lot of problems, especially because of missing PHP libraries I couldn't install.
- Uninstalling default PHP packages for the Zend ones really makes me angry! ;-)

I finally installed the .tar.gz and voilà. It worked.


What didn't work as expected or missing in the tutorial:


- VirtualHost configuration should be put in the httpd-vhosts.conf file, which is in the /usr/local/zend/apache2/conf/extra/ directory.
After that, edit httpd.conf and uncomment the line loading that file.

- The SQLite database loading stuff didn't work. I had to create the ".db" by hand and insert schema and data.
Don't forget to set correct permissions (try world-writable for testing, make it owned by the php / webserver user in production)

- Zend Studio is... poor(ly featured).

I'm working with IntelliJ now, and it's really good.
I'm more accustomed to it than Eclipse, that could be a reason, but common "THE Zend Framework IDE" doesn't even can autocomplete class names (Application_*) and has no syntax coloring in the *.ini file ?!

The "bit" tricky part in IntelliJ (or any other IDE because it's a matter of php.ini & apache) was to setup XDebug, but once you have done it, it works for all PHP projects.


Apart from that, as soon as you've started, the framework really shines and you realize installation time was well spent and was worth it.

However, compared to what you usually have to setup with Java Web projects, this is really nothing, and much simpler than most frameworks (Spring, Struts, JSF, Persistence : Hibernate and his friends / JPA).
After 2 days.. it works. But there are a lot of things I did differently than it is explained in this tutorial. It is a pity that no one updates the site with such a big community.
This has got be one of the worst tutorial/quick start guides ever. This is by no means an easy or introductory "how-to". All instructions are very vague at best and almost speak at you as if you helped built the API. It literally took me two days just to get past the installation and configuration on my machine. And I had to search OTHER sites for that. This quick start guide actually deterred me from using this possible decent framework. Thank the stars that there are some books out there for this framework. At least you provide a well constructed "user friendly" API doc. FYI... You may consider renaming this "Quick" "Start" guide to something more fitting.
I appreciate the effort, but I spent a few hours on this guide now, giving my best to make everything work. But I have absolutely NO idea what I just did and I would never be able to do it again oder explain to anyone how this script I just "created" works.

This is definitely not helpful for beginners... if anything, it makes things even more confusing.
The usefulness and significance is overwhelming. You achieve a concentration Ear infection on the essential with finding your forms which immediately lifts the observer out from the everyday.
that was helpful! thanx!
If you are the type of developer that just blindly follows a tutorial (how to, etc.) without actively thinking about the concepts (like the ability to simply swap out sqlite for MySQL if thats what you are more comfortable with) then of course you are going to have a hard time, and there is no way I would want to hire you. If you don't know squat about MVC or OOP in PHP then don't expect to learn those concepts from a tutorial labeled as "quick start". Don't be lazy, use your brain and explore the concepts yourself and don't blame the tutorial for your unwillingness to struggle through concepts so that you do something called learning.
There is nothing wrong with this tutorial, only those following it.
Nice tutorial. Thanks for writing it. One thing I fixated on while going through the exercise is why more boilerplate code isn't generated for the developer.

For example... 'zf create form Guestbook' basically saves me a few lines of typing. This might be good for me as a beginner, but I would imagine that after I wrote x number Zend projects, it would be like second nature to write that zf generated code. Maybe the form data was a bad example as the script can't predict what type of input fields I want, but it feels like there could be more 'meat' generated in the classes/functions. Take the GuestbookMapper as another example...
For how much code is represented in the tutorial (getDBTable, setDBTable, etc)... generating the following with zf
class Application_Model_ParentMapper
{
}
basically saves me nothing.

Just curious, but when you work with the framework for a while, do you still use zf to generate your files?

I had read the cakephp tutorial,the codeigniter tutorial,the yii tutorial. But when i found this its just kind of bogus.It has not helped me to start working on Zend. Please make the tutorial simple man.
Please make the tutorial simple like cakephp,codeigniter or yii tutorial. its not helping us.
Yah! After 6 hours I finished!
Good tutorial but not for beginners.
The CAPTCHA is not displaying on my form view. Anybody else have the same problem?
CAPTCHA not generating img tag on ZF 1.11.9. Maybe need some decorators needed in this version?
All this quickstart really needs is some brief comments in the code sections. Particularly some comments in the Model and Mapper classes. That would make it a billion times easier to understand. Ultimately however, it has been a very helpful guide.
Thanks a lot, this is a jump start! In fact there is a lot of concepts to deal with (it's worth re-reading some parts), but it's really well done.
I finally got it to work.
I must say, I spent 50% of the time reverse engineering the tutorial itself:
mostly on the db setup page.

Thanks for the effort, one or two more passes to make this more streamline - and specifying things like where the data directory and script directory should go might help to shave off a couple hours and endless frustrations.

hope the learning curve to understand more advanced usage is not too steep...
I finally got it to work.
I must say, I spent 50% of the time reverse engineering the tutorial itself:
mostly on the db setup page.

Thanks for the effort, one or two more passes to make this more streamline - and specifying things like where the data directory and script directory should go might help to shave off a couple hours and endless frustrations.

hope the learning curve to understand more advanced usage is not too steep...
Fine tutorial, but please, GET RID OF ALL THOSE FATAL ERRORS COMING UP!!!
I've been able to solve all of them thanks to the comments, but it would be much less frustrating if they wouldn't be any fatal errors in the first place.
Coming from an intermediate ability with Rails gave me good insights into the installation and running through the (rather minimal) tutorial steps. This is very much like rails, except using php as the base language instead of ruby.

The installation (on OS X 10.4 ppc) had a few hiccups, but everyone must realize that "unix-like" systems are far from uniform in the way the os is organized and different parts 'talk' to one another -- notably with regards to paths. This is a real weak point (and not just in Zend Framework), and could be better addressed in the documentation, as many key details are assumed, overlooked, and (in a few cases) factually wrong.

There are more than a few syntactical head-scratchers, e.g. why do so many of the individual tutorial files (supplied in the download) have opening, but not closing "<? php" tags -- yet invariably, in the online tutorial, all such tags are omitted?

My take on this project is that it is a shrewd and necessary step by Zend to protect php market share from the avalanche of MVC frameworks that gained incredible traction through ruby/rails and have extended to other scripting languages including asp.NET.

It's reassuring this effort has the power of the venerable PHP -- and Zend -- behind it, but far from assured the actual quality of this effort will be enough. Better documentation and more advanced tutorials are needed.

I would like to see better documentation, and



Okay, this wasn't a really quick start, but it got me started.

About all the comments on using sqlite instead of mysql (which we all know by heart of course): well it made me learn something (kinda the point of a tutorial, no?). If you didn't have a clue of what sqlite was, maybe consider googling it, ... or something.

About the quickness of this tutorial: most times I got stuck on something, it turned out to be a Windows / WAMP issue. So shoot MS, not ZF.

Can't wait to dig a little deeper.

+ Add A Comment

Please do not report issues via comments; use the ZF Issue Tracker.

If you have a JIRA/Crowd account, we suggest you login first before commenting.

  • BBCode is allowed in the comment markup

  • Select a Version

    Languages Available

    Components

    Search the Manual