I have seen a number of websites lately still using query string URLs (http://www.mysite.com/index.php?id=1) for general content pages. I do not object to using these for special cases like a complex search, product filtering and other cases which I can't think of at the time of writing this.
Slim Framework has been around for some time now and it has become my de-facto micro framework for developing small projects or even just prototyping concepts easily. I have been long looking for a good package manager for PHP that would allow me to easily load any package I want to use in my projects.
In this post I will continue from my last post about Using PHPActiveRecord with Slim Framework we will move on to creating template(views) using Twig Template Engine. Twig is written by the creator of Symfony Framework Fabien Potencier and the template syntax is easy to understand and extending Twig is also relatively easy. Before continuing any further I would advice on following the previous blog post Using PHPActiveRecord with Slim Framework or if you are not interested in learning about PHPActiveRecord you can download the files from the GitHub repository.
When prototyping projects in PHP I normally use Slim Framework and for all database interactions I use PHPActiveRecord. These tools make Rapid Application Prototyping quick and easy to manage. In this article I will go through step by step explaining how to get these two up and running.
After hours of trying to install MySQLdb in a virtualenv for a django app I am working on, I have finally worked out how to get it done. I was using the normal
pip install MySQL-python
command inside of my environment and this didn't work, I did multiple google searches and checked all over the internet and to no avail.
I have recently started to use microframeworks to prototype and test ideas in short sprints rather than creating a full blown web application. I will be talking about a upcoming PHP 5 Microframework called Slim Framework. Slim Framework as small as the package might be is a feature filled framework which keeps the separation between presentation and business logic.
I have now moved this website over to MODx Revolution 2.0.0. I must say the migration wasn't too difficult although I was waiting on a one click upgrade path but after looking at the way how MODx is built in general, it wouldn't have been possible as different developers use different plugins, snippets and addons. I was reading Muddy Dog Paws and realized he was having problems getting Flickr to work in MODx Revolution.
With MODx Revolution 2.0.0 hitting RC3 it is not long before the final version is released. I took some interest in Revolution from the time it hit RC2 and have been working on a internal project with it. I wanted to manage a few internal websites with it so I put it to the test to see how easy it would be to do this.
Upgrading is good but there are some who just don’t updgade as often as others, so I have upgraded to Firefox 3 but wanted to keep Firefox 2 at hand for testing websites I develop, so here is how to install multiple copies of Firefox on Windows.