Recent Posts
-
Posted by Shailesh Davara on January 27, 2015
PHP is no more inferior language
I remember the time, when I was used to hate PHP and looking at PHP language as an inferior language. In addition, I have seen PHP developers feeling a great inferior quality in their life.I have not imagined anytime to work in php language, but w...
-
Posted by Shailesh Davara on November 11, 2014
Attach events to Laravel Eloquent model
In my earlier post of laravel eloquent, I told you that it’s a very powerful ORM. It comes with many functionalities that we could imagine to have with any ORM.One of the feature, we need is to have any way to hookup with model events.(i.e save, u...
-
Posted by Shailesh Davara on October 21, 2014
Set Timezone in Laravel
Now a days, I’m working with PHP and particularly with Laravel framework. I have worked in MS stacks for 5+ years and last year or so I moved in open-source technologies. Since then, I got a chance to work with Laravel framework.Though I am learni...
-
Posted by Shailesh Davara on September 23, 2014
How to delete Eloquent model with related relationship/child data
Eloquent, ORM of laravel is very powerful and we can use it for building model relationship. It handles most of CRUD operation with ease, even with relationship. Today, I’m going to discuss DELETE operation with relationship. How to delete related...
-
Posted by Shailesh Davara on January 20, 2014
Refactoring
According to Wikipedia, Code refactoring is the process of restructuring the existing computer code without changing its external behavior.In other words, I say : Poor code with possibilities of biting you in the future and fixing at that time.Few...