Category Archives: Web Development

Learning Phalcon PHP – My first book

Yesterday, my first book has been published. I hope you will find it useful. Thank you all for your support ! Check it here

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

php-apidoc – REST API documentation generator tool for PHP 5.3+

Generate documentation for php REST API based application. No dependency. No framework required. Easy to use. php-apidoc – php rest api documentation tool. https://github.com/calinrada/php-apidoc . Check out the dummy generated file: http://calinrada.github.io/php-apidoc/ | php rest api documentation generator.

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

jQuery plugin – split MySql date format value of a form element into select form elements

Here is a simple and quick jQuery plugin that will split the MySql date format values of an form element into select form elements. Html element: <input type="hidden" name="birth_date" id="birth_date" value="1985-03-25" /> Call the plugin: $(function() { $(‘#birth_date’).birthDate(); }); And the plugin: /** * Simple plugin that converts an hidden html element * that has read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Using Twig with Phalcon PHP

You might wonder why using Twig with Phalcon PHP and not using Volt. Well, i had 2 main reasons: 1. I have been using Twig for the last 2 years and it’s available as a C extension also. 2. Using Volt it’s almost exactly the same thing, but for now it seems that Volt is read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Many-to-many relationships – Phalcon

If you are working with Phalcon, you will probably need to establish a many-to-many relationship between models. While i was searching in the official documentation, this was not very clear for me at that time. I posted this question on the form, and i got the correct answer. I will explain you here, step by read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Phalcon PHP – i’m lovin it

Since i gave up working with Symfony 1.4, i was searching for a new framework. Because i couldn’t find one that i like, i ended up in developing a small framework by myself. Searching for some solutions related to ORM and ODM, i read some posts related to Phalcon. Honestly, in a few minutes, i read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

Installing Redis + Php Redis Extension + igbinary in Ubuntu 12.04

This is a quick example of how to install Redis server, Redis PHP extension + Igbinary in Ubuntu 12.04. All steps requires sudo access. 1. Install Redis server Because the official Ubuntu PPA is not updated with the latest version of Redis, we need to add another repository: $ sudo add-apt-repository ppa:chris-lea/redis-server $ sudo apt-get read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

m.bitpress.ro

Latest developed project: http://m.bitpress.ro/ – mobile version of www.bitpress.ro. Developed from scratch, with my own mini php framework. It uses jQuery Mobile framework, Redis and Local Storage. This is a beta release so let’s hope that we will do more. Next target: Android App.

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS

PHP Credit Card Validator – Class

If you ever need to validate credit card numbers, here is a simple validator class. Of course you can use it as simple as just defining validation rules in one array and use the php biult-in preg_match function to validate. But for the sake of good OOP practice, we need a class . Well, i read more »

Share and Enjoy

  • Facebook
  • Twitter
  • Delicious
  • LinkedIn
  • StumbleUpon
  • Add to favorites
  • Email
  • RSS