2009年9月16日星期三

Re: [fw-mvc] so complex!

I am looking forward to the tutorials. I have checked it out, but i don't know how to read it? Need i compile it?

And a question in detail:

Which way to bootstrap is better and regular?

According to my understanding, to bootstrap in index.php is an old way in former versions, bootstrap.php as a bootstraper is included lately, right?

So it means the bootstrap is better choice, right?

And what's the relationship of bootstrap.php (or index.php) and Zend_Loader?

I am reading your reference guide, i will try to find answer myself.

2009/9/16 Matthew Weier O'Phinney <matthew@zend.com>
I'm going to top-post here, as there's an extensive thread already, and
I want to summarize some of the ideas.

First, we do make a number of assumptions: (1) you understand PHP, (2)
you know how to setup a web server, and (3) you have used and written
PHP classes. Are these inappropriate assumptions? I'd like to think not;
how can you accurately judge the benefits a framework provides you
unless you have a baseline to compare against?

That said, I've heard a number of complaints about users unable to get
the quickstart running -- and almost all of them are due to not
understanding how to install and configure a web server. It only makes
sense, then, that we spend some time detailing how to configure, at
the least, Apache, such that you can get a virtual host up and running
and pointed at your project.

On that note, my team and I have begun an initiative to provide a more
tutorial oriented section to the manual. The current manual is primarily
a reference guide -- it details how to use each component, but not
necessarily how to use the components together. The new section, which
we are titling, "Learning Zend Framework," will contain a number of
tutorials geared at getting users up and running, as well as more
intermediate tutorials showing more advanced topics like approaches to
models, integrating ACLs into your application, etc.

You can track our progress via svn:

   http://framework.zend.com/svn/framework/standard/branches/user/zf-devteam/documentation/manual/en

(We're not doing this on trunk as of yet, as there are some large
changes to the manual organization that we need to integrate later.)

One benefit of this is that tutorials such as the quick start will now
be part of the manual -- meaning we can offer translations, but also
that you, as developers, can help us make the tutorials better.

If there are areas where you've been stuck or could have used more
information, let us know, and we can begin adding more tutorials.

-- huajun qi <qihjun@gmail.com> wrote
(on Wednesday, 16 September 2009, 11:28 AM +0800):
>
> Hi, i am a freshman to use zend framework.
>
> I watched your screenshot video, and then i think zf is easy to use, but when i
> begin to work, i find it so complex!
>
> Yes, the example you show in the video is so simple, it include only one class,
> as an example, it works fine.
>
> But i read the read the quick start doc, the way to use zf is totally
> different, i do not like to use command line, it is so sick! I want to build a
> project like the video shows!
>
> But the video doesn't mention how to bootstrap, how to include many components,
> how to build a real but not an example project at all.
>
> So, any body know what should i do after i create new project folder, and put
> the zend library in it?
>
> How to initialize the components I need?
>
> Where to write a configuration file and how to include it?
>
> Should I create a bootstrap.php file?
>
> Why do not you make a regular, fluent, detailed document to present how to
> build a project without using command line?
>
> --
> Location:

--
Matthew Weier O'Phinney
Project Lead            | matthew@zend.com
Zend Framework          | http://framework.zend.com/




--
Location:

没有评论: