Logging is an essential part of application. According to Twelve-Factor App methodology it’s the XI factor of application development. A proper logging gives you a valuable insite of your application. In Node.js application, it is always suggested to use logging libraryrather than just using console.log in productione environment. Log4js, Bunyan , and Winston are the …
Framework
My personal posts, articles and tutorials on Framework are available under this category..
Inherit attributes and methods of Sails.js Models
Yeah, now I am working on an interesting Node.js project where I am using Neo4j as Graph database with Sails framework. Neo4j is very new in the market, thus there is very little good DB libraries and adapters available for Sails framework. So, I decide to write some custom model methods (using an active record …
Write a View Helper in Laravel 5 with best practices
In my last blog post I talked about deploying Laravel 5 application in a shared hosting. Still I am working in the same project. This is pretty much a big project that I am working alone right now. Along with this project, I am also working long hours on upgrading my business, after I read …
Deploy your Laravel 5 App in shared hosting
Once again, I had to make my hand dirty. This time I had to deploy Laravel 5 application in a shared hosting. Laravel framework’s architecture is not designed to deploy in shared hosting. So, if you want to deploy in shared hosting of cource you will have to hack the framework. I will not recommend …
Weird Error: Fatal error: Class ‘CI_Controller’ not found in Codeigniter Framework
It’s a simply weird and misleading error message. I was working on a client project which was actually based on Codeigniter (CI) framework version 2.1.3. Somehow, I did a typo in DB setting located at config/database.php file. But, I got a very weird error message: Fatal error: Class ‘CI_Controller’ not found in /var/www/my/……./system/core/CodeIgniter.php on line 233 …
Send email using Gmail SMTP from Rails 3 platform
Recently, I co-founded another and my second Startup: InternCity. The Platform is based on Ruby (v-1.9.3) On Rails (v-3.2). Developing appplication on RoR platform is most favourite platform right now specially for its rich features and community supports. Whatever, one of its important features was sending email to user on different activities. When it was …
convertNumericType error in Zend Framework 2 with Doctrine MongoDB ODM
One stupid error kicked my ass for the last few days (Sorry for writing in this way). Recently I am working on a project with Zend Framework 2 and Doctrine MongoDB ODM. Platform Setting up killed five days only for the MongoDB driver’s bug. My platform based on Ubuntu 12.04, PHP 5.3 with Zend Framework …