Best of Zend Framework Starting Guide on the Internet

Zend Framework,, have you ever heard about this framework? yes! I see you’ve ever heard this. Zend framework is one of the completest framework build from PHP.

If we talk about framework and try to learn it. The hardest one is how to start learning,  how is the structure, how is the rules,  how this framework working,, and how how how how… :(

After several day search on the internet about Zend Framework, finally I got one of the best tutorial.. here it’s the link..

http://www.phpeveryday.com/articles/Zend-Framework-Basic-Tutorial-P840.html

I said this is complete because it’s table of content

Table of Content

Zend Framework Tutorial

Learn Zend Framework Intro
Zend Folder
Zend Anatomy
Zend Access File
Zend .htaccess
Zend Controller
Zend View

Learn Zend Framework Action
Zend Content
Zend URL Controller
Zend URL Action
Zend GET
Zend Including

Learn Zend Framework Database
Zend Database
Zend Input Form
Zend Inputing Data
Zend Expressions
Zend Data List
Zend Editing Form
Zend Updating Data
Zend Update Query
Zend Deleting Data
Zend Delete Query
Zend Action

Learn Zend Framework Registry
Zend Values
Zend Array
Zend Objects

Learn Zend Framework Config
Zend Array Config
Zend File Config
Zend INI File
Zend XML File

Learn Zend Framework Login
Zend Database
Zend Form Login
Zend Authentication
Zend Fatal error
Zend Protected
Zend Logout
Zend Switching

Learn Zend Framework Session
Zend Session
Zend Namespace
Zend Session Data
Zend Value
Zend Lock
Zend Expiration

thanks for the author of its website…

Nice.

Solving Zend Framework error “An Error Has Occurred A project profile was not found”

This error message appear when I want to create a layout in Zend Framework,  still a beginner in this.
I use command:

zf enable layout

I search around in the internet but I can’t find even one solution.  So I try to understand what the computer said.

It’s said “A project profile was not found!”

the keyword is  PROJECT PROFILE….

gotcha!

thinking.. and thinking…

finally I use this command:

cd your_application_folder_in_webserver
zf enable layout

Look at your project folder,, there is a new folder inside application folder named layouts...

Alhamdulilah,, Success...

 

trust me, It Works!!!

:D

Reseting MySQL Root Password on Windows

For you who lost your mysql root password, you can follow this step to reset your password.

1. Log on to your system administrator account on your PC. To make sure you have grant access.

2. stop your mysql service. Go to start > run > type services.msc find service use name mysql or mysql-nt or you have specified OR open your taskmanager and kill the mysql process.

3. create file using notepad and write this statement

UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root'; FLUSH PRIVILEGES;

save as reset.txt on drive C:

4. run your mysql service using command prompt
click  start > run > cmd
point your directory to drive C
and execute this statement

C:\> <strong><code>C:\mysql\bin\mysqld-nt --init-file=C:\\reset.txt</code></strong>

you can also add –console to see the progress of the process :D

5. just press ctrl + c if have execute that statement because this process appear to be unfinished.

6. You should now be able to connect to the MySQL server as root using the new password. Stop the MySQL server, then restart it in normal mode again. If you run the server as a service, start it from the Windows Services window. If you start the server manually, use whatever command you normally use.

7. try to login using root with your new password as you typed in file.

hope this help.

A little tip when using flexigrid with JQuery 1.4 ++

a little tip  for you who uses flexigrid with JQuery 1.4 or a higher version.

The data wont show before you change your PHP  script for generate Json into these code…


$json = '';
$json .= '{';
$json .= '"page": "'.$page.'",';
$json .= '"total": "'.$total.'",';
$json .= '"rows": [';
$rc = false;
while ($row = mysql_fetch_array($result)) {
if ($rc) $json .= ",";
$json .= '{';
$json .= '"id": "'.$row['id'].'",';
$json .= '"cell":["'.$row['id'].'","'.$row['iso'].'"';
$json .= ',"'.addslashes($row['name']).'"';
$json .= ',"'.addslashes($row['printable_name']).'"';
$json .= ',"'.addslashes($row['iso3']).'"';
$json .= ',"'.addslashes($row['numcode']).'"]';
$json .= '}';
$rc = true;
}
$json .= "]";
$json .= "}";
echo ($json);

hope this help.

I waste my time for this before finally got the solution.

Web Design with Photoshop.. :)

After one week learning Web Design with Photoshop Finally I can create one design original by my hand :D
This is not really good but,, yeeahh… not bad too..

In this design I’m using docking style, with left side is for scroll news..

here is the design…

this is designed for portfolio website. There are five menus, home, profile, about, gallery and contact.

I keep it simple!!!..

here the download link for the files…

I’m not include the psd file because I made a mistake when I try to crop the image… :) (really fool mistake)..

Sharping Your Images with Photoshop Technic(Actually a Simple Techic) :)

before we start.. please download the image below…

the picture above looks very pale.. I don’t know, maybe the creator of this image want his image looks like that. But Here we want to increase the color level of the image using adobe photoshop. this trick is very simple but effective :) .

The Steps Are…

  1. Open file you have downloaded with photoshop.
  2. select all the area of image with pressing ctrl + a.
  3. then press Ctrl + L to open the adjustment level of color.
  4. Look at the input level graphic, there is an un optimal use of color in the right side of the graphic…
  5. slide the cursor inside of input level and matching it to the graph shown. look at the picture below.
  6. you can choose the graphic values to get the best, here is my final sharpen image. :)

Password Creating Technics

I got this trick from CCNA Exploration 4 Module…
Hope this help for us to create a strong password… :)

here they are…
Good password practices include the following:

1. Do not write passwords down and leave them in obvious places such as your desk or on your monitor.
2. Avoid dictionary words, names, phone numbers, and dates. Using dictionary words makes the passwords vulnerable to dictionary attacks.
3. Combine letters, numbers, and symbols. Include at least one lowercase letter, uppercase letter, digit, and special character.
4. Deliberately misspell a password. For example, Smith can be spelled as Smyth or can also include numbers such as 5mYth. Another example could be Security spelled as 5ecur1ty.
5. Make passwords lengthy. The best practice is to have a minimum of eight characters. .
6. Change passwords as often as possible. You should have a policy defining when and how often the passwords must be changed. Changing passwords frequently provides two advantages. This practice limits the window of opportunity in which a hacker can crack a password and limits the window of exposure after a password has been compromised.

CodeIgniter : The Basic – Starting Guide :)

Hmm… Setelah memahami konsep PHP secara gamblang dan telah menulis ribuan baris code PHP struktural biasanya kita mulai bosan dan jenuh… Nah Saat nya memulai babak baru…huhu… maksudnya.. saatnya kita beralihh ke pemrograman PHP dengan FRAMEWORK…

Apa itu framework??
berdasarkan padanan katanya :) frame = bidang, work = kerja… nah jadi framework adalah bidang kerja :( .
Pada intinya Framework merupakan a set of tools..uppss.. seperangkat peralatan atau perkakas yang tersedia dalam bentuk class-class yang memudahkan kita ketika kita akan membuat sebuah aplikasi berbasis web.

Nah Framework yang akan di bahas sekarang adalah Codeigniter.. :) is… the most easiest framework …. uupps… adalah Framework termudah(survey membuktikan) untuk dipelajari karena konsep dan petunjuk pemakaian yang jelas.

Codeigniter merupakan suatu framework yang menggunakan Konsep MVC(Model View Controller)……. nah lohhh apa tuuhh???
…. MVC merupakan sebuah konsep yang memisahkan antara tampilan(View), logika aplikasi(Controller) dan transaksi database(Model)…

Baiklah tanpa berlama-lama membaca (kasian kebanyakan baca yang gk penting diatas :p ) mari kita mulai menggunakan framework Codeigniter…
Baca tulisan ini lebih lanjut

Koneksi Database SQL Server 2005 melalui VS 2003 dan Membinding Ke Data Grid

berikut ini langkah-langkah nya….

1. Buat project Web Application Baru kemudian Tambahkan Object Datagrid pada halaman. Klik Toolbox di sisi kiri(biasanya) kemudian pilih tabulasi Web Form, kemudian drag (digiring) item Datagrid ke Halaman2. kemudian Beri nama datagrid tersebut dengan mengisi field ID di properties datagrid.. berikan nama dgsiswa Baca tulisan ini lebih lanjut

PHP – MYSQL Sample Code

Ini merupakan contoh singkat koneksi PHP dengan MYSQL menggunakan file yang terpisah.

Pada contoh ini nanti akan di berikan cara menyeleksi tabel pada mysql dan menampilkan nya di halaman website. Juga ada cara untuk melakukan proses insert data ke MYSQL.

click here for download sample.

this post is for *yuwono*…
hope this helps you.

Baca tulisan ini lebih lanjut

Ikuti

Get every new post delivered to your Inbox.