Go Back   Webmaster Malaysia Forum » Website Design & Development » Website Programming

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 21-10-2002, 09:56 PM
bazet's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: Ampang KL
Posts: 93
Rep Power: 90
bazet is on a distinguished road
Send a message via ICQ to bazet Send a message via AIM to bazet Send a message via Yahoo to bazet
PHP FrameWork For TOTAL NEWBIE

http://www.protonmania.com/imz/index.php

Dedicated to TOTAL NEWBIE & Graphics DESIGNER to to PHP.Current version is pre alpha. Tutorial on how to use it is coming soon. Just try it on your Windows machine

Features :
Template support
HTML Object Form
Database Layer
Session Management
Permision Management
..
..
.. a lot more object is coming in...but in current release.. you can use SMARTY & PHPLIB together.

And for NEWBIE, just download and install first, make sure it is running and after that I'll give the tutorial on the forum.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 22-10-2002, 04:19 PM
hymns's Avatar
Senior Webmaster
 
Join Date: Nov 2001
Location: Johor
Posts: 769
Rep Power: 101
hymns is on a distinguished road
Send a message via ICQ to hymns Send a message via Yahoo to hymns
bazet, ko buat CMS ke hape? byk sgt fail tak sempat nak tgk semua... tapi best aku suka tgk class command ahak...
__________________
I hate when:

vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 23-10-2002, 05:08 PM
mystique_nw's Avatar
Novice Webmaster
 
Join Date: Sep 2002
Posts: 31
Rep Power: 0
mystique_nw is on a distinguished road
mmh bagus aa buat ni...nnt budak baru belajar cam saya ni..boleyla benefit..anyway...bila email tu ada underscore _... mesej ni keluaar...syntax error in email address..so taboleh proceed
__________________
++--[N]W|dZ™--++--Beauty |S |n the eYe of Its beholder--++ <p>Distinctively... <a href="http://widz.cjb.net">http://widz.cjb.net</a>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 26-10-2002, 11:43 AM
hymns's Avatar
Senior Webmaster
 
Join Date: Nov 2001
Location: Johor
Posts: 769
Rep Power: 101
hymns is on a distinguished road
Send a message via ICQ to hymns Send a message via Yahoo to hymns
bazet, aku selalu gak guna class tapi tak penah guna extends fungsi dia untuk ape arr??

biasanya class yg aku guna gini je

class name {
...code here
}

tapi ko nye kod plak
classs name extends apetah {

... code

}

jelaskan skit
__________________
I hate when:

vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 31-10-2002, 07:27 PM
bazet's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: Ampang KL
Posts: 93
Rep Power: 90
bazet is on a distinguished road
Send a message via ICQ to bazet Send a message via AIM to bazet Send a message via Yahoo to bazet
Sorrylaa geng, sebok kerja opis & siapkan tutorial IMZ

by the way, aku dah siapkan 8 siri tutorial dari basic thing hingga ke web database
Sila lawat :
http://www.protonmania.com/imz/tutorial.php

hymss:
Actually, class yang aku guna campuran Smarty dan PHPLIBs, so kita ambil contoh class Db yang ada dalam includes/imz.class.php

PHP Code:

class DB extends DB_Sql
{
    var 
$classname "DB";
    var 
$Host "localhost";
    var 
$Database "MAKLUMAT";
    var 
$User "root";
    var 
$Password "";
    var 
$Port "";
}

/* HomeComm UREG Class */
class DB_UREG extends DB_Sql 
{
    var 
$Host     "localhost";
      var 
$Database "hc_session";
      var 
$User     "root";
      var 
$Password "";
}


/* HomeComm DISTRBUTED Class */
class DB_CONTENT extends DB_Sql
{
    var 
$Host     "localhost";
    var 
$Database "content";
    var 
$User     "root";
    var 
$Password "";

Ok, semua class yg kat atas tuh umpama replicate themselves dengan menggunakan class utama, yakni DB_Sql...so kalau aku nak start objek datanase yg menggunakan database content, kod aku cuma

PHP Code:

#$dbo ialah objek database
$dbo = new DB_CONTENT;

#mula SQL menggunakan nilai $id
$sql "SELECT * FROM maklumat WHERE id='$id' ";

#execute SQL
$dbo->query($sql);

# jika ada maklumat,mulakan gelung while
while( $dbo->next_record($sql) )
{
    
# senaraikan data dalam bentuk array
    
$nama $dbo->f(nama);
}

echo 
"nama saya ialah $nama"
Err paham tak ?, So kalau aku nak ubah pulak objek database lain, contohnya hc_session, aku cuma jalankan kod $dbx = new DB_UREG;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-11-2002, 04:54 PM
hymns's Avatar
Senior Webmaster
 
Join Date: Nov 2001
Location: Johor
Posts: 769
Rep Power: 101
hymns is on a distinguished road
Send a message via ICQ to hymns Send a message via Yahoo to hymns
OoOO kira

class [pembolehubah class] extends [class sebenar]

ye ke idak? aku agak je... sbb buat jln. nak tgk gak fungsi sebenarnya apa. tehehhe ok! tq bazet...

errr ko org BP ke bazet? dlm tutor tu ade kluar BP plak (lain tajuk dah...)
__________________
I hate when:

vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-11-2002, 06:32 PM
bazet's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: Ampang KL
Posts: 93
Rep Power: 90
bazet is on a distinguished road
Send a message via ICQ to bazet Send a message via AIM to bazet Send a message via Yahoo to bazet
Yap, tepat sekali. Hymms, aku orang Batu Pahat , Johore...ko orang sana jugak ker ?

BTW aku x HSBP 94
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 05-11-2002, 04:15 PM
hymns's Avatar
Senior Webmaster
 
Join Date: Nov 2001
Location: Johor
Posts: 769
Rep Power: 101
hymns is on a distinguished road
Send a message via ICQ to hymns Send a message via Yahoo to hymns
aha... aku orang kluang la bazet, cuma kerja kat prt. raja, BP ahak... Bazet, pada pendapat ko... OOH dengan PHPLibs mane bagus? Aku survey coding & optimizing diorang kata OOH lagi best... aku pun tak tau nak pilih mana satu... At last buat je class sendiri... tak sehebat diorangnya le... hak hak
__________________
I hate when:

vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 06-11-2002, 08:44 AM
bazet's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: Ampang KL
Posts: 93
Rep Power: 90
bazet is on a distinguished road
Send a message via ICQ to bazet Send a message via AIM to bazet Send a message via Yahoo to bazet
Huh kerja kat parit raja ? Ittho ker ? Aku nak balik BP wei...carikkan aku kerja..he heh

Sebenornya banyak class PHP yg kat luar tuh

SNOOPY - http class
PHPLIBs - framework
PEAR - framework
SMARTY - templating
MIDGARD - framework
BInaryCloud - framework
FUSEBOX - framework
ADODB - DB Class
METABASE - DB Class

SO just mix yg ko nak guna aja. Aku maybe switch ADODB, sebab dier stable dan ada SQL SCript layering.

Ko kerj aParit Raja kat mana ? Rumah nenek aku kat KG Kolam Air, sebelah kelab golp kluang..raya nanti leh laa aku datang sana.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-11-2002, 11:55 AM
hymns's Avatar
Senior Webmaster
 
Join Date: Nov 2001
Location: Johor
Posts: 769
Rep Power: 101
hymns is on a distinguished road
Send a message via ICQ to hymns Send a message via Yahoo to hymns
puuiiyooo.. memang banyak ler... tapi apsal ko tak link? kan leh share reramai... hek hek... erm ADODB... ko pakai NT ke bazet?

aku tak kerja kat ittho lers... member aku ade ler keja sana. aku kat itbase prt raja. ataih bangunan umno. taukan bangunan tu? weheheh bila nak walik bp.. nak gak jumpo hang po nih...
__________________
I hate when:

vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 12-11-2002, 11:26 AM
bazet's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: Ampang KL
Posts: 93
Rep Power: 90
bazet is on a distinguished road
Send a message via ICQ to bazet Send a message via AIM to bazet Send a message via Yahoo to bazet
ohh ITBASE PT Raja, tkt 2 tuh kan ? AKu pernah gi sana .teman member aku jumpa awek dier.

ADODB untuk PHP ada, ko search aja ADODB PHP kat google, sure jumpa.Nanti aku balik aku carik ko kat ITBASE
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 12-11-2002, 12:07 PM
bazet's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: Ampang KL
Posts: 93
Rep Power: 90
bazet is on a distinguished road
Send a message via ICQ to bazet Send a message via AIM to bazet Send a message via Yahoo to bazet
ohh ITBASE PT Raja, tkt 2 tuh kan ? AKu pernah gi sana .teman member aku jumpa awek dier.

ADODB untuk PHP ada, ko search aja ADODB PHP kat google, sure jumpa.Nanti aku balik aku carik ko kat ITBASE
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 12-11-2002, 12:21 PM
bazet's Avatar
Novice Webmaster
 
Join Date: Aug 2001
Location: Ampang KL
Posts: 93
Rep Power: 90
bazet is on a distinguished road
Send a message via ICQ to bazet Send a message via AIM to bazet Send a message via Yahoo to bazet
ohh ITBASE PT Raja, tkt 2 tuh kan ? AKu pernah gi sana .teman member aku jumpa awek dier.

ADODB untuk PHP ada, ko search aja ADODB PHP kat google, sure jumpa.Nanti aku balik aku carik ko kat ITBASE
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 02-12-2002, 04:19 PM
hymns's Avatar
Senior Webmaster
 
Join Date: Nov 2001
Location: Johor
Posts: 769
Rep Power: 101
hymns is on a distinguished road
Send a message via ICQ to hymns Send a message via Yahoo to hymns
bazet,

wehehhe byk betul ko post bazet... hak hak... bila ko nak balik johor arr? keh keh kasi le alamat suruh dtg raya...
__________________
I hate when:

vBulletin Message:
Sorry! The administrator has specified that users can only post one message every 60 seconds
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Total newbie here >_< Pip_X Website Programming 2 12-04-2006 01:12 PM
NET Framework Filuren Website Programming 2 04-01-2005 08:53 PM
Count total of records jeb23 Website Programming 17 04-02-2004 07:15 PM
imz framework? what happen? ustazmalaya Website Programming 6 17-07-2003 03:39 PM