Parasolx

Professional in Drupal web development, theme designing, consultation and training

Blog Saya

Creating patch file in Mac OS

30 Sep 2014 - 11:51 am

If you don't want to use VCS for creating patch then you can use diff tool. You can create patch for one file using

diff -u original.c new.c > original.patch

Or

diff -rupN original/ new/ > original.patch

For entire folder

Apply patch

If you are patching  from the root directory and use the -p0 parameter to patch. This will stop patch from asking you which file you wish to patch:

$ patch -p0 < example.patch

If your patch is patching files that mention a & b directories in the patch, you can use the -p1 parameter to get rid of the a/b directories.

$ patch -p1 < example.patch

To fix code style issues in the patch, you can use tab2space like so:

tab2space -unix -t2 foo.patch | patch -p0

The making of Drupal syllabus

16 Aug 2014 - 09:49 pm

the making of drupal syllabus

Almost three years I have been conducted various Drupal training classes for government and private agencies, without a proper and conprehensive syllabus on how to use Drupal in the efficient and easy to understand.

The major problem about Drupal is it not easy to make people with zero knowledge in web development understand the concept through tutorial class. Most of people think Drupal will do out of the box in just a single click.

All this time, I already revising almost five times what I just call a "guideline". Yet it still can not consider as "Drupal Syllabus".

meditation spa musics

As a preparation for my mind, I already bought an album call "Meditation Spa", special music arragement for mind theraphy. This album cost me about $70 (~RM210). Some people may thought it expensive but for me it really worth each of cents.

It has been a while

06 Jul 2014 - 08:19 am

Last time I updating my blog was somewhere in May. And today it's already reach in July which almost 2 month without new post. Time is very consume when we needed it. And thats happen to me. Lately I was too busy finished one of my product that already turn in beta phase. That product was name as "Project Management System", which responsible to take over manual process to manage any project, task assigning, bugs management and reporting.

Thanks God that this product smoothly run on low server specification. The objective of this product just to provide high quality yet cheap project management system without need to spend a lot of money and environment to run it. That's is the main reason this product was tested for alpha version on shared hosting with very minimal specification. If there is no critical bugs and any continous fixed need to be done, release candidate version should be appear in December this year.

Besides, I also received three task jobs which consist of one development system and two web development. Both of this task is powered by Drupal. Hoyeah! Drupal rocks. Actually in Malaysia its still in very slow of awareness about Drupal. Most of people knowing Wordpress and Joomla!. As usually because it is easy to learn, used and built. However, lately I manage to receive callers, not to said a lot but quite impressive, from private and government sector regarding for revamping their website.

What so surprise, they are contacting me because to switch into Drupal. I don't know what the main reason but most of callers said they really interested in using Drupal as a new platform. Some of them get quite frustrated with the current CMS system which lack in hard to maintain.

Hopefully Drupal, one day, in Malaysia will powered more portal and website which actually growth really fast in outside country.

ps: this post was written using MacBook Air.. oh man, really? yes!

Feeling Good For New Skin

15 Feb 2014 - 12:01 pm

Again, my personal blog change the skin. And this new concept implemented a lot of using jQuery and CSS3. This should be the latest concept in web designing. Hopefully it hold more longer than previous design.

I stressed more on my services as a prodessional Drupal web develoment. Still not perfect, lot of things need to be tune up and more details regarding service offering will come.

Ghost, masih pra-matang

07 Jan 2014 - 01:47 pm

Dalam beberapa entri sebelum ini, saya pernah menulis berkenaan dengan satu aplikasi untuk menulis blog iaitu Ghost. Memiliki sebuah blog bukan lagi mustahil berbanding 10 tahun yang lepas. Anda boleh memilikinya secara percuma atau melanggan secara berkala. Setiap pilihan ada kelebihan dan kekurangan masing-masing bergantung kepada keperluan. Melihat kepada keperluan ini, pembangun sistem di seluruh dunia masing-masing tampil dengan idea tersendiri.

Inovasi daripada projek sedia ada mempunyai potensi tersendiri. Seperti Mambo yang telah diperkenal semula sebagai Joomla!, begitulah kisahnya dengan Ghost. Pencipta Ghost menggunakan platform dan idea sistem Wordpress. Tetapi menekankan kepada "just blogging" atau hanya untuk berblog. Sistem hari ini bukan berdiri sendiri dan statik, sebaliknya ianya berkembang dari semasa ke semasa. Wordpress hari ini "dilihat" bukan lagi fokus kepada blog sebaliknya cuba untuk menyesuaikan diri dengan keperluan lain. Antaranya mula mengadaptasi forum, e-commerce dan media sosial dalam pembangunan modul tambahan.

Isu-isu ini dijadikan sebagai asas untuk Ghost dibangunkan dengan bantuan dan dana penyokong sumber terbuka. Baru-baru ini, saya telah dipelawa untuk menggunakan Ghost untuk tempoh percubaan selama sebulan. Ghost dijalankan pada kerangka node.js. Node.js dilihat mampu memberikan kadar prestasi yang lebih pantas berbanding PHP terutamanya pengendalian permintaan yang sangat besar dibuat terhadap sistem pelayan.

ghost admin interface

Inilah ruangan pentadbiran setelah saya log masuk ke dalam sistem Ghost. Ciri-ciri "live updates" atau kemas kini segera adalah kekuatan yang menjadi kunci kepada sistem ini. Skrin dibahagikan kepada dua, sebelah kiri untuk teks editor dan sebelah kanan adalah paparan sebenar.

ghost text editor

Selain itu, beberapa fungsi tetapan lain yang dibina seperti pemilihan templat, tetapan laman dan deskripsi laman. Bagi saya, ianya mudah untuk digunakan. Bagi yang tidak pernah menggunakan mana-mana sistem juga rasanya hanya mengambil masa lebih kurang 5 minit untuk mempelajari keseluruhan sistem ini.

Walau bagaimanapun, untuk mengeluarkan sekurang-kurangnya USD5 setiap bulan masih belum berbaloi dengan apa yang ditawarkan oleh Ghost sekarang. Sistemnya terlalu ringkas. Hanya berbekalkan kepada teks semata-mata. Tiada fungsi untuk memuat naik gambar, media dan elemen-elemen fail yang lain.

ghost price tag

Jika anda benar-benar mahukan analogi yang sama seperti Ghost, iaitu "just for blogging", sistem Wordpress masih yang terbaik setakat ini. Atau bagi yang mengharapkan kekuatan laman itu sendiri sukar untuk dicerobohi anda boleh mencuba Drupal atau Joomla!. Walaupun ketiga-tiga sistem ini bukan dibina untuk tujuan blog, namun kekuatan dan prestasinya jauh lebih baik. Pemasangan biasa sistem ini sudah cukup untuk anda berblog.

Kos untuk melanggan jauh lebih murah berbanding langganan setiap bulan yang disediakan oleh pihak Ghost. Jadi bagi saya Ghost masih ditahap pra-matang dengan versi 0.3 yang dilepaskan buat masa sekarang. Mungkin pada masa akan datang, Ghost adalah antara yang menjadi tumpuan, saya tidak ragu-ragu untuk melihatnya semula. Melanggan sekadar untuk "berblog".

Pages