Wednesday, December 12, 2012

import_request_variables

Sangat lama tidak post any text/news or apa-apa jer la...

Alhamdulillah sudah selesai 'berhijrah'. Even still ambik masa lagi... Tapi syukur, semuanya OK. Selamat tinggal PUO yang disayangi. Dan semoga penghijrahanku ke PTSS memberi sesuatu untuk aku dalam kerjaya yang disayangi ini....

Already finished my inovation project, Syslab Version 1.0, a simple system. Thanks Afifah and Nurul. Project ni bermula di PPK, course yang aku attend yang memaksa kita prepare one project in 1 day. So far so good.
Credit to mr.google

Straight to my posting today.... one of my friend, found this!! 

import_request_variables - error bila dia tolong configure syslab. 

Rupanya, aku terlupa tentang sesuatu.... Lets we learn more on import_request_variables

Tujuan import_request_variables ialah untuk import semua variables berjenis POST/GET/COOKIE ke global scope. Maksudnya, semua variable yang kita hantar, kalau berjenis local akan terus ditukarkan ke global scope variable. 

More examples, baca article ni. Very helpful - http://php.net/manual/en/function.import-request-variables.php

Tetapi, kenapa ada error/warning??


Sebabnya import_request_variables hanya boleh digunakan untuk versi  PHP bermula 4.1.0 hingga kurang dari versi 5.4. Maybe my friend dah install versi PHP yang lebih latest... Ada suggestion untuk fix error, saya search di internet jer. 


1) Remove the import_request_variables string from the disable_functions at php.ini* file
2) Ask your hosting provider to remove the string above if you don't have an access to the php.ini* file
3) Change hosting provider which allows the running of the import_request_variables function.

That all... So, solution untuk syslab? Just  comment code tersebut sahaja, and your program should be ok. Why i love error? Because i 'll learn something....

Ok, Bye... see u next entry =)

Friday, November 9, 2012

Mobile Web Design (JQuery Mobile Framework)

Dear all,

Especially for students who interested to learn on JQUERY MOBILE WEB FRAMEWORK... Beside JQuery Mobile, you also can use Zepto, DynamicX, Sencha, iWebKit and others framework.

First step to learn mobile web is to understand the mobile framework. Same as HTML, you also must understand the framework of HTML5 and CSS3 to start create your own mobile web.

Example: Using JQUERY mobile - Create Mobile JTMK Website

1. Download the builder http://jquerymobile.com/download/ - Javascript and CSS
2. Install your web server
3. Create your html file, then copy and paste snippet. (your .css and .js stored on htdocs/www, example: mjtmk folder and create a single js and css folder inside mjtmk)

Download here http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.zip

htdocs/mjtmk/css - css file
htdocs/mjtmk/js - javascript file
htdocs/mjtmk - your html/php file
htdocs/mjtmk/image - your images folder

Alter your head of html file and insert the snippet below:

4.  After you insert the snippet, then start learn on HTML5 codes. For the beginner, i think this website help us a lot. http://iviewsource.com/coding/5-minute-guide-to-a-mobile-app-with-jquery-mobile/



Good Luck....

Time to say goodbye to all my PUO students and beloved friends. Allah Bless all of you...

Work hard and work smart =)





Sunday, November 4, 2012

Good Luck

Alhamdulillah.... Finally, it's final exam...

It's coming...

To all my F5224, FP521, FP201, F5228 and DNS3A students... I wish, "GOOD LUCK FOR YOUR FINAL EXAMINATION"... InsyaAllah, Boleh!!... Remember, success comes with action, keep moving, study hard and study smart =)

“There are no secrets to success. It is the result of preparation, hard work learning from failure.” ~ General Colin Powell

Love;
Pn Fiza



Sunday, October 28, 2012

Literature Review

Soalan: Puan, saya tak faham macamana nak tulis kajian literatur?

Tq yang emel soalan, even dah lama tak buka emel...

Literature Review?? LW is a critical analysis of the research conducted on a particular topic or question in the field of science...

Baca artikel ni untuk panduan penuh menulis LW. Artikel ni lebih fokus kepada kajian, tapi sekiranya untuk tulisan projek, bendanya hampir serupa cuma perlu olah sedikit, akan tunjuk contohnya nanti. --> http://contohtugasan.blogspot.com/2010/10/menulis-kajian-lepas-literature-review.html

Apa yang menarik? Point penting menulis LW ialah:

  1. Baca tulisan ilmiah berkaitan
  2. Nilai semua tulisan yang telah dibaca
  3. Buat ringkasan
  4. Gabungkan ringkasan dan hasilkan ringkasan dalam bentuk penulisan.
Untuk konteks kajian literatur sistem maklumat, rasanya hampir serupa. Ikut pengalaman masa menulis tesis dulu... ada formula ringkas bahagian ini. Contoh: Sistem A akan dibangunkan dan sistem A hampir sama dengan sistem B, tapi kebanyakan fungsi sistem A lebih baik/banyak dari sistem B. 
  1. Study tentang sistem B
  2. Bandingkan kelebihan dan kekurangan kedua-dua sistem. (Sistem A vs Sistem B)
  3. Then, tuliskan dalam bentuk ringkasan. 
  4. Tulisan tu, selalunya mesti ceritakan secara ringkas kelebihan sistem semasa berbanding sistem yang setara dengannya, tetapi tulisan selalunya mestilah fokus kepada fungsi / kelebihan sistem bukannya terlalu "memuji sistem semasa/dibangunkan" dan "menjatuhkan sistem yang setara"....
  5. Selalunya untuk setiap satu perbandingan setiap sub topik 1-2 paragraph.
Contoh: E-Learning JAVA

Bab 2 - Kajian Literatur
2.1 Pendahuluan - pendahuluan tentang kaitan kajian literatur dengan projek
2.2 Pengenalan E-Learning - penerangan tentang e-learning
2.3 Jenis-Jenis E-Learning
2.4 Perbandingan E-Learning dengan pembelajaran tradisional
2.5 E-Learning PSP - sudah mula dengan perbandingan projek semasa dengan projek lain
2.6 E-Maya Cikgu Matematik - perbandingan projek semasa dengan projek lain
2.7 E-Learning C++ - perbandingan projek semasa dengan projek lain
2.8 Kesimpulan

Setakat sahaja yang boleh dibantu. Semoga info ini bermanfaat. Sekian, harapnya terjawabla soalan saudari yang mengemel itu.

“I don’t stop when I’m tired. I only stop when I’m done ...


Friday, October 26, 2012

Silverlight Web Design

Dear all,

You like Animation? You also like Web Development? So just combine them together and create a "great" web design. So, study on SILVERLIGHT WEB DESIGN...

Silverlight templates are basically pre-made animated design products made with the Silverlight technology - a new solution from Microsoft. The templates made with this technology allow premium animation as well as a fair extent of interactivity available within the animation.

Source: http://www.behance.net/gallery/Silverlight-Login-Page/929744 

Most suitable web design - Photo Stock, Company Information Website, Photo Blog, Blog...etc

http://www.templatemonster.com/silverlight-templates.php
http://www.silverlight.net/

Good luck and all the best to all my students on your VIVA! InsyaAllah BERJAYA =)

Please remember this qoute: “I don’t stop when I’m tired. I only stop when I’m done ...



Wednesday, October 17, 2012

MariaDB vs MySQL


Dear students;

My review on this "beautiful" article: MariaDB is faster than MySQL. Because MariaDB improve overall speed of the server, MariaDB can perform as good as MySQL and both of them are same.

Brief History of MariaDB & What is MariaDB all about

It all started back when Oracle & Sun (when Sun acquired MySQL in 2008) . After Sun purchased it , basically things start to go bit slow – updates were not being related in timely manner , lesser and lesser contribution from the community.  At that upon of time , Brain Aker forked MySQL into Drizzle project , a database for the cloud. It never really took off

In 2009 , the creator of MySQL , Monty Widenius left the company and started MariaDB , which is a new fork of MySQL. Its meant to be a replacement for MySQL Server.

The beauty of MariaDB

Since MariaDB is a binary drop in replacement for MySQL. It simply means that MySQL 5.1 <—-> MariaDB 5.1 are interchangeable. Think of it as a brother and sister relationship. It simply means that if you have a MySQL 5.1 server , if you’ve moved over to MariaDB 5.1 , all your stuff are still there. There is no need to reconfigure for MariaDB. On top of that all MySQL connectors , api or what-so-ever are the same – it simply means that your current php script (even this WordPress will run on MariaDB).

Advantages of MariaDB (Features)

  1. More storage engines (Aria for instance)
  2. Speed Improvements (just take a look at the link)
  3. Fully Open Source and Free as in Free Beer !

 Source by: http://prasys.info

CSS - Cascadding Style Sheet

Hello students,

What is CSS? if you still remember what you have learn from web authoring subject or you have an experience in HTML tag... i'm sure that you can explain and understand the uses of CSS.

CSS??
  • CSS stands for Cascading Style Sheets
  • Styles define how to display HTML elements
  • Styles were added to HTML 4.0 to solve a problem
  • External Style Sheets can save a lot of work
  • External Style Sheets are stored in CSS files
Types of CSS?
  • Internal Styles are defined in the head section of html tag section of a given web page. 

  • Inline Styles are defined within the HTML markup of a particular page element.
  • External Styles are defined on the External Style Sheet, which is linked to the web page(s).

Refer notes below to strengthen your knowlegde;

http://www.w3schools.com/cssref/default.asp
http://www.csstypeset.com/
http://www.expression-web-tutorial.com/Types_CSS_Styles.html

Ok, that all for today =) All the best!


Monday, October 15, 2012

Motivation: Why programming is FUN?

Hello student,

Puan selalu cakap, programming is beautiful, programming is simple, computer science is interesting....

Over pulak, takkan la nak cakap susah, susah, susah jer, bila nak senang?? Orait... apapun the best thing to love programming is.... TRY AND ERROR, PRACTICE!!! MORE and MORE and MORE...

Credit: Mr.Google - Art of happy programmer


I read this article... Written by: Frederick Brooks's 


Brooks had a great list of the reasons that "craft" is fun:
  1. "The sheer joy of making things." Not to be underestimated.
  2. "The pleasure of making things that are useful to other people." Seeing other people take delight in what we've created, or benefit from something we've done, is enormously satisfying.
  3. "The fascination of fashioning complex puzzle-like objects...and watching them work." Getting something to WORK. 
  4. "The joy of always learning, which springs from the non-repeating nature of the task."
  5. "The delight of working in such a tractable medium. The programmer, like the poet, works only slightly removed from pure thought-stuff." 
All the best!!! Good luck for your final examination =)



Monday, October 8, 2012

Reminder for my Final Project Student

Salam Sejahtera,

Sila kemaskini laporan projek akhir dan sistem. Sila hantar logbook dan laporan projek akhir untuk saya semak pada hari ISNIN, 22 Oktober 2012. Berikut ialah perkara-perkara yang perlu you all siapkan dan hantar pada saya;


  1. NAFHAH BINTI MISRUN (01DIP09F2067)
  2. SITI NORADILA BT MAHAMAD FAUZI (01DIP09F2072)
  3. MUHAMAD DHIA UL MUKMIN BIN AHMAD SHAFAWI (01DIP09F2064)
  4. ELFADZLY NAZRIN BIN ROSLI (01DIP09F2086)
  5. SOFIAH BINTI OTHMAN (01DIP09F2081)
  6. NURHIDAYAH BT MOHD ISA (01DIP09F2089)
  7. LEE KAH HOU (01DIP09F2085)
  8. NEESHALLINI A/P MANOKARAN  (01DIP09F2092)
  9. NOR HUDA ATHIRAH BINTI ROZLAN (01DIP09F2094)
  10. SITI FATIMAH BINTI BUANG (01DIP09F2090)
  11. NOOR ASMA HUSNA BINTI AHMAD (01DIP09F2077)
  12. ABDUL QAYYUM BIN ISAHAK (01DIP09F2182)
  13. MUHAMMAD FIRDAUS BIN RUSLAN (01DIP09F2079)


  1. Draf laporan akhir (print dan binding, bukan hard cover). Format penulisan download di sini -> FORMAT TESIS
  2. Log Book (Full)
  3. Sistem Bebas Error dan pastikan OBJEKTIF tercapai seperti dalam laporan.
Selamat Berjaya & Terus Berusaha.

Sekian, terima kasih. 



Thursday, October 4, 2012

PhpMyAdmin & Simple System


Dear students,

How to love programming??? Learn from basic. Try to understand and learn each lines... Find the best way to fix an error and try to write in your own way. Finally, never give up...
  1. Tutorial :Create Database using PHPMyAdmin [Download]
  2. Tutorial :Simple Add, Edit & Delete Codes [Download]

Love;
Pn Hafizah

Monday, September 24, 2012

Lorem Ipsum

Apa itu Lorem Ipsum???

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Kenapa perlu menggunakan Lorem Ipsum?

It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

Antara sumber text Lorem Ipsum

http://lipsum.com/
http://generator.lorem-ipsum.info/
http://www.loremipsum.net/

Enjoy!!



Sunday, August 26, 2012

Our First Android Application using Eclipse

Dear student,

Jika anda berminat dalam pembangunan aplikasi mobile, selain menggunakan flash lite, anda boleh menggunakan Eclipse. Terdapat pelbagai tutorial untuk mempelajari perisian ini. Namun begitu, langkah pertama ialah memastikan komputer anda mempunyai perisian seperti berikut:


  1. Download the Android SDK.
  2. Install the ADT plugin for Eclipse (if you’ll use the Eclipse IDE).
  3. Download the latest SDK tools and platforms using the SDK Manager.
  4. If you haven't already done these tasks, start by downloading the Android SDK and following the install steps. Once you've finished the setup, you're ready to begin your first app.
Untuk belajar tentang pembangunan android app boleh rujuk pada tutorial berikut:


Selain itu, di youtube, terdapat pelbagai tutorial berkaitan pembangunan aplikasi mobile...

Good Luck!



Monday, August 13, 2012

jQuery Mobile: Touch-Optimized Web Framework for Smartphones & Tablets

Dear students,

A unified, HTML5-based user interface system for all popular mobile device platforms, built on the rock-solid jQuery and jQuery UI foundation. Its lightweight code is built with progressive enhancement, and has a flexible, easily themeable design.



You can use theme roller to choose 5 theme, for mobile web design  here. http://jquerymobile.com/themeroller/

Beside mobile web using jquery mobile, you also can design your simple apps, using Flash Lite (Search: Flash Lite for Android), Ruby Programming (http://www.ruby-lang.org/en/) for web and apps design. Ruby programming is similar with PHP, its simple, but the main thing, you must understand OOP, the structure and the way it's work...

Enjoy the moment... It's all about how you LOVE PROGRAMMING =)


Thursday, August 2, 2012

JPGRAPH - Most powerful PHP-driven charts

Dear student,

Using PHP script, you can create a dynamic graph based on your database content.

But, you must download and understand more on JPGraph. What is JPGraph??

JpGraph is an Object-Oriented Graph creating library for PHP >= 5.1 The library is completely written in PHP and ready to be used in any PHP scripts (both CGI/APXS/CLI versions of PHP are supported).

You can download JPGraph at http://jpgraph.net/download/
You can see an example at http://jpgraph.net/features/gallery.php

Everything is about how you LOVE PROGRAMMING =)



Tuesday, July 24, 2012

Thursday, July 19, 2012

APPSERV installation Guide

APPSERV software package contains php programming, mysql database, apache server and phpmyadmin.

php programming - programming language
mysql - database
apache - web server 
phpmyadmin - software to view 'live' mysql database structure

Same as XAMPP, WAMP, PHPTRIAD, WEBDEV....

Ask Mr. Google and Download by Yourself...

Download tutorial appserv installation guide [DOWNLOAD]


Friday, July 13, 2012

Semester June 2012

Assalamualaikum dan Salam Sejahtera

I'm delighted to welcome you all!

  • FP512 Web Programming - Class DIP5
  • F5224 Web Programming - Class QIP6
  • FP201 Programming Fundamentals C++ - Class KHAS
  • F5228 Project - Class DIP6C

Monday, March 5, 2012

For all my student...

Carilah seribu sahabat dalam pergaulan,
kerana seribu sahabat belumlah banyak.
Jauhilah seorang musuh, kerana musuh yang
seorang itu sudah lebih daripada banyak.
– Lukman Hakim




Question 1: Introduction to Variable

Based on code below, create a dynamic program that solve problem below: Source Code: #include <iostream> using na...