Archive

Posts Tagged ‘PHP’

Speed up Symfony by installing APC on Ubuntu

January 29th, 2010

APC (Alternative PHP Cache) is an open source code PHP code cache and optimizer (or code accelerator). It is a necessary companion to any Symfony project. Read more…

Linux, PHP, Symfony Framework , , , ,

Popular websites powered by PHP

September 26th, 2009

Just a handy list for me and anyone else out there. Most popular high traffic websites only.

Wikipedia, Facebook, Friendster, Yahoo, Delicious, Youtube, Digg, Wordpress, Tagged, W3Counter, MyYearBook

PHP ,

Susan Mofo: An Author, a Poet and a Health Practitioner

September 18th, 2009

Susan Mofo is an author, a poet, and a health practitioner. And at the moment she is working to finish her first music CD! Susanmofo.com is a simple but effective website for Susan’s official online presence, to promote her book, CD, and physiotherapy.

susanmofo.com

Portfolios, Websites using Symfony , ,

Symfony 1.2 sfForm formatter to add stars on required fields

August 31st, 2009

The following is a form formatter class I developed to automatically add stars * on required fields. Feel free to use it and let me know if it can be improved.

You might ask, why not just use setLabels?

Firstly, if you already set required fields to true/false in setValidators, why do you have to add the stars manually again in setLabels? It just doesn’t make sense!

Secondly, using setLabels to add stars is interfering with language translation.

Thirdly, this is I believe a proper (or proper-ish?) way to do this kind of things with sfForm.

Read more…

Symfony Framework , ,

Smile Care Centre, dentistry with a gentle touch

February 3rd, 2009
Comments Off

Smile Care Centre is a website that Nathan has developed recently for a dentist. The website features an online appointment form where Smile Care Centre’s patients can make an appointment anywhere anytime 24/7.

Click for larger image

Click for larger image

Portfolios , ,

Brevettinews

February 3rd, 2009
Comments Off

Brevettinews.it (site is now not available) was a website that we have developed sometime ago for an Italian lawyer. We successfully developed the website in PHP, MySQL, and Apache. Brevettinews features news, articles, mailing list, gallery, and etc.

Click for larger image

Portfolios , ,

Multiple Symfony versions in the same environment

February 2nd, 2009

I’ve been using this trick from symfonynerds to run multiple Symfony versions in the same environments. I can now work on projects built on Symfony 1.0, 1.1, and 1.2 simultaneously in the same environment (Ubuntu 8.10).

So now, when I want to create a Symfony 1.0 project, I would just execute “$ symfony10 init-project myproject”. And then in the project I would use “$ ./symfony cc” instead of “$ symfony cc”.

It worths mentioning that I think this trick is good for development environment but “svn:externals” trick or Symfony freeze are better for production/deployment as each project will have their own copy of Symfony Framework.

Symfony Framework , ,

Why I like Symfony Framework

December 4th, 2008

I have been doing Java programming for quite a few years. Java is where I got my OOP lessons from and it just makes sense to me, from the multi-threading model, interfaces, abstract classes, encapsulation, to the bean.

I became known as Java man, because 1) I was born in Java island, 2) I program Java, 3) I can speak Javanese, and 4) even though unrelated, I also do Javascript. Read more…

Symfony Framework ,