Archive for June 15th, 2006
PHP Developer - June 15th, 2006
Robert Bolton installed his Apache web server and MySQL with almost no problem at all, but when it came to PHP5, there were a few issues. His goal? To set up a simple, clean installation that would would immediately with the Zend Framework.
he way ZF is currently set up, it really only works from the root directory of a site (you can use modified controller to get around this), although they are going to change the controller structure so it works in sub-directories in future releases.
He notes the changes he made to the hosts file to set up two different domains as well as the chnages to the httpd.conf to set them up. This also includes the Rewrite rules to funnel requests back down to the main controller. He also includes a vi setting to work with tab characters the same way as “recommended” by the Zend Framework - 4 spaces wide.
Continue Reading ·
PHP Developer - June 15th, 2006
As noted by both Tobias Schlitt and Sebastian Bergmann, the popular blogging software, Serendipity has reached a huge milestone in its development - the release of version 1.0.
The Serendipity Team is proud to announce the final release version of Serendipity 1.0, an advanced and flexible blogging/cms web application. With its comprehensive feature set, including multiple authors, internationalization, templated output, and an open plugin architecture, Serendipity’s stable 1.0 release is ready to become the most popular Web application in the world!
You can get the full story in their latest blog post today, including the latest bugfixes, how to upgrade your current installation, the future of the project, and, of course, the “thank you”s going out to all those that helped.
You can download this latest release directly from their site.
Continue Reading ·
PHP Developer - June 15th, 2006
From Ana Aman’s Blogspot blog today, there’s a quick post with a helpful hint for anyone working with PHPMyAdmin experiencing freeze-ups.
If you are using phpmyadmin on a database with more 1500 or more tables, you may experience problems. The page will not load at all so you will not be able to operate propery with phpmyadmin.
Of course you can still run commands from a terminal or console but it is not as confortable as using phpmyadmin.
The solution? Following a bit of digging, Ana discovered that upping the memory limit for the server PHPMyAdmin installed on makes a world of difference.
Continue Reading ·
PHP Developer - June 15th, 2006
David Sklar has posted the slides and sample code from his talk at the New York PHP Conference given earlier today. He covered “Metaprogramming with PHP”.
Metaprogramming is a handy approach for object-relational mapping tools, web-programming frameworks, and other problem domains where building a new programming language on top of an old one becomes the shortest route to a solution.
PHP’s ’solve the web problem’ aesthetic makes some metaprogramming tasks difficult, but it nevertheless has a large collection of features that let you programmatically tweak syntax, style, and other coding aspects.
His talk looks at various methods to help you get started, including working with the “magic methods” and SPL interfaces.
Continue Reading ·
PHP Developer - June 15th, 2006
From the Toronto PHP User Group website today, Darryl Patterson shares some of his thoughts and feelings on the Zend Framework.
I decided to write this little article up after seeing the various responses to a post on the Zend Framework mailing list titled “What is the Zend Framework?” One of the contributors pointed out a post made to a different mailing list that essentially said that they had no clue what the Zend Framework is after visiting the official ZF website.
So, I fire up the browser, and went to http://framework.zend.com/ from the perspective of the beginner to novice PHP developer. Sure enough, the language used there is really meant to target developers who are quite familiar with the concept of frameworks, design patterns and APIs. Not easy topics to grasp when you’re new to programming.
He suggests that, even though the site (and software) is targeted primarily at more experienced developers, why can’t we have content on the Framework’ site targeted to those just starting out? He also asks the question “why do we need the Zend Framework?” and gives some basic facts for beginning developers to consider before getting into it:
- it’s not “production ready” yet
- you have to learn the Framework’s “language” to use it
- it only works with PHP5 installations
If you’re still wanting more information, however, head on over to the Framework’s main site to get the full details.
Continue Reading ·