Blog Archives

Few Drupal modules might be considered to follow

Panels In place editing Responsive layout builder NoSQL MongoDB Other Symfony2 Redis queue NodeJS integration  

Tagged with: , ,
Posted in Post

Last child workaround

Instead of using buggy 3rd party JS selector libraries I’ve decided use the following workaround (implemented in jQuery): $(function() { $(“#content .innerContent:last-child”).addClass(“lastChild”); }); Now you can reach from CSS using the lastChild class.

Tagged with: , , , ,
Posted in HTML/CSS, JS, Post

Some useful readings

I have decided to do some project with MongoDB, NodeJS and HTML5. It will be a very interesting entertainment based startup. I would like to share my personal readings. Here comes: HTML5 interactive demos http://html5demos.com/ HTML5 data-* http://ejohn.org/blog/html-5-data-attributes/ HTML5 reading

Tagged with: , ,
Posted in News, Post

Symfony2 save form

Form saving in controller example: public function saveAction(Request $request) { if ($request->getMethod() == ‘POST’) { // EntityManager $em = $this->getDoctrine()->getEntityManager(); // New entity $registration = new Customer(); // Build the form $form = $this->createFormBuilder() ->add(‘name’, ‘text’) ->add(‘country’, ‘text’) ->add(‘email’, ‘email’)

Tagged with: , ,
Posted in Post

PHP 5.4 new features

A  good review about the coming features in PHP 5.4. I welcome the array dereferencing support and the closure’s $this; support!  

Tagged with:
Posted in News, Post

Nginx and swfupload with Symfony2

A couple of days ago I run into a problem with integrating swfuploader to Symfony2. (I decided not to use SonataMediaBunde and write my own image uploader to SonataAdmin). First of all I try to explain my first problem that

Tagged with: , , ,
Posted in Post

Newsletter template in gmail

I checked one of our email templates in gmail today and I’ve realized there is a one pixel tall line between the TRs.

Tagged with: , , , ,
Posted in Post