Category: Tutorials

Developer productivity tip: VirtualDocumentRoot

By Pablo Godel If you run a local Apache web server, you are probably familiar with the directive VirtualHost. It allows you to run multiple independent websites on the same machine. I use it all the time to develop my web apps and create fake hostnames, like example.local or site.local which allow me to access [...]

July 14 / 2011
Author Pablo
Category PHP, symfony, Tutorials
Comments 12 Comments
Tags ,

How to stop people from hotlinking your image files

When someone links directly to an asset on your server, say an image or even worse, a video file, the asset will appear on the another site but be hosted on your server. This method is called hotlinking or image leeching and, when done without permission, is nothing short of bandwidth theft since this uses [...]

May 04 / 2011
Author Kim
Category Tutorials
Comments 1 Comment
Tags

Editing Twig templates in Dreamweaver

If you are a designer working with Symfony developers you will soon encounter Twig. Twig is a template engine for PHP that has been adopted by Symfony 2, and from a designers perspective, it’s a major improvement over the way things are done in Symfony! For designers who have used templating systems like Smarty before, [...]

March 03 / 2011
Author Kim
Category symfony, Tutorials
Comments 2 Comments

How to install bbPress on shared hosting

bbPress is a forum software developed by the same folks who created WordPress. It’s a lightweight bulletin board system that seems to be gaining traction lately. bbPress runs really well on our shared hosting plans so we decided to put together a quick tutorial on how to install bbpress on our systems. bbPress installation is [...]

January 07 / 2011
Author Kim
Category Tutorials
Comments No Comments
Tags

How to customize the error pages in Symfony2

When there is an error in a Symfony 2 application an exception is generated. The framework produces a very detailed report when in the development environment. However, when you put the application in the production server, you will need to display a user friendly page. Creating a custom page is actually simple. All you need [...]

October 28 / 2010
Author Pablo
Category PHP, symfony, Tutorials
Comments 5 Comments