Category Archives: PHP

PHP-CS-Fixer Configuration

Assalamualaikum / Hi, Today, just a quick sharing on my PHP-CS-Fixer setup in my Laravel application. First, you need PHP CS Fixer. You can go through the installation steps here. Then, I’ve added an alias for my PHP-CS-Fixer alias csfix=”php-cs-fixer fix”. Now my PHP-CS-Fixer config file, following are the setup in my Laravel application. Once… Read More »

WordPress: ORM Model Class

Object Relational Mapping or ORM is something that WordPress is missing, but that doesn’t mean we can’t create an abstract Model that act similar to ORM behavior. Here are the first version to implement the ORM in WordPres – far from completions. Here are the implementation: The usage: More features to add in – to… Read More »

Y2016

Year 2016, InsyaAllah, next year to be a year of sharing knowledge of what I’ve learnt so far. Following are the trainings I would like to conduct: 1. Mobile Apps Development with jQuery Mobile 2. Mobile Apps Development with Intel XDK (incoming) 3. API Development with Slim Framework (incoming) 4. PHP Basic / Advanced 5.… Read More »

How to Include PHP ActiveRecord in WordPress as Global Feature

This post for developers who used to ORM/ActiveRecord and not familiar with WordPress Query (like me) and want the ORM/ActiveRecord to be available in WordPress. As per post’s title, this post regarding how you can include PHP ActiveRecord for global use – let say you have multiple plugins that use PHP ActiveRecord, you can’t load… Read More »

Training: Web Mobile Application Development (Basic / Intermediate) – INTIM – August 2015

Training: Web Mobile Application Development (Basic / Intermediate) Location: INTAN Kampus Wilayah Timur (INTIM), Kemaman, Terengganu Date: 17th – 20th August 2015 Slide: http://bit.ly/training-web-mobile-application-development Training Materials: Web Mobile Application Starter Kit – https://bit.ly/training-mobile-app-starter-kit Basic Android Configuration – https://bit.ly/training-mobile-app-android-config API Template – https://bit.ly/training-api-template Important Articles: HTTP Methods for Restful Services – http://bit.ly/htpp-nethods-for-restful-services Android Configuration – http://bit.ly/android-config-xml Chrome Device Mode – http://bit.ly/chrome-device-mode  

Web Services: Slim Framework + Eloquent(Laravel)

Setting up the Restful API is easy with Slim Framework & Eloquent(Laravel). Here are the steps: Install required components via composer – Slim Framework + Eloquent(Laravel) Create a database called web_services and create users table. Setting up Eloquent Setting up Routes Final Touch Install the necessary components using composer – create a composer.json and save… Read More »