Archive for category Tutorials

Symfony "Database "" does not exist." error

Fix for symfony’s annoying “Database “” does not exist.” error.

Tags: , , ,

symfony Unable to parse default value as date/time value: '0000-00-00 00:00:00'

Fix for symfony error “Unable to parse default value as date/time value: ‘0000-00-00 00:00:00′”

Tags: , , , ,

jQuery loading remote/external javascript files using getScript()

I found out that jQuery has a nice little method for loading external scripts into the page at run time called getScript(). It basically gets the contents of the external file using an AJAX request and then eval()s the code at runtime, which seems like a perfect way of doing it. I reckon it’s much better than appending new <script> tags to the <head> tag as well.

Tags: , , ,

Flex save changes from an AdvancedDataGrid using itemEditEnd

Quick tutorial on how to retrieve the value of an edited cell from an AdvancedDataGrid.

Tags: , , , ,

jQuery create a client-side MVC

Some concepts for creating a client side MVC (or VC in this case) framework.

Tags: , ,