摘要:
The goal of this helper is also to make managing css files easier. This css view helper is really simple, im not kidding ;) It looks really complex but it isn't. There are just so many lines of code because i load several css files. If you create a website you will probably have several css file 阅读全文
posted @ 2011-02-16 11:54
岭南六少
阅读(230)
评论(0)
推荐(0)
摘要:
This article will show you an example for a zend framework layout in html5. In the next articles i will show you the view helpers i use in this layout. I know html5 is new and not supported by all browsers. Especially IE has problems with html5. But there is a solution for the html5 tags, the proble 阅读全文
posted @ 2011-02-16 11:50
岭南六少
阅读(274)
评论(0)
推荐(0)
摘要:
For a basic bootstrap there is already a lot of code inside. One thing i haven't included yet is the database initialization as well as the database profiler initialization, i will add that part in as soon as we need it...To make our code more reusable we could write several application resource 阅读全文
posted @ 2011-02-16 11:47
岭南六少
阅读(255)
评论(0)
推荐(0)
摘要:
Zend Framework's controller uses the frontcontroller design pattern. All requests to the frontcontroller will get rooted through a single entry point, the index.php file. The index.php will create an instance of zend application and run the application bootstrap process by using the bootstrap.ph 阅读全文
posted @ 2011-02-16 11:46
岭南六少
阅读(579)
评论(0)
推荐(0)
摘要:
We will need this configuration file to setup some default values for our application. We will see in the next tutorial how the index.php uses this file and passes its values to the application class to create an instance. As you can see we have three parts in our configuration file, a config setp f 阅读全文
posted @ 2011-02-16 11:41
岭南六少
阅读(241)
评论(0)
推荐(0)
摘要:
You can download a copy of xampp here: http://www.apachefriends.org/en/xampp-windows.html. Klick on download xampp to get your copy. (XAMPP stands for X = cross-platform, Apache, MySQL, PHP and Perl) Xampp is very popular and the best is its opensource and free. In the xampp package there is also a 阅读全文
posted @ 2011-02-16 11:40
岭南六少
阅读(283)
评论(0)
推荐(0)
摘要:
My goal was to create a structure that is very easy to understand, flexible enough for big or small websites and not totally different from what books or other guides recommend as a best practice files and folders structure for a Zend Framework project. Another goal was to create a core cms, which h 阅读全文
posted @ 2011-02-16 11:38
岭南六少
阅读(227)
评论(0)
推荐(0)