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!


Question 1: Introduction to Variable

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