Difference between revisions of "Introduction to the Geeklog 2 FrameworkG2"

From GeeklogWiki
Jump to: navigation, search
m (Reverted edit of ShiYan, changed back to last version by Tony)
 
Line 20: Line 20:
 
##[[Deleting Propel Objects|Deleting Propel Objects]]
 
##[[Deleting Propel Objects|Deleting Propel Objects]]
 
##[[Customized Queries using Named Queries Concept|Customized Queries using Named Queries Concept]]
 
##[[Customized Queries using Named Queries Concept|Customized Queries using Named Queries Concept]]
 
[http://www.shneon.com 霓虹灯]
 
[http://www.junyuan.com.cn 制作网页]
 
[http://www.junyuan.com.cn/cnstrct 建站]
 
[http://www.junyuan.com.cn/design 网页设计]
 
[http://www.junyuan.com.cn/page 网页制作]
 
[http://www.junyuan.com.cn/site 网站制作]
 
[http://www.junyuan.com.cn/site_design 网站设计]
 
[http://www.junyuan.com.cn/site_con 网站建设]
 
[http://www.junyuan.com.cn/web 企业上网]
 
[http://www.junyuan.com.cn/con_site 建设网站]
 
[http://www.junyuan.com.cn/dsgn_pg 设计网页]
 
[http://www.junyuan.com.cn/mk_site 制作网站]
 
[http://www.junyuan.com.cn/net 网络公司]
 
[http://www.junyuan.com.cn/dsgn_site 设计网站]
 
[http://www.junyuan.com.cn/com_con 企业建站]
 
[http://www.junyuan.com.cn/ebiz 电子商务]
 
[http://www.junyuan.com.cn/database 数据库开发]
 
[http://www.junyuan.com.cn/dvlp_dtbs 开发数据库]
 
[http://www.junyuan.com.cn/program 程序开发]
 
[http://www.junyuan.com.cn/dvlp_prgrm 开发程序]
 
[http://www.junyuan.com.cn/data 数据库]
 
[http://www.junyuan.com.cn/e_mail 企业邮局]
 
[http://www.junyuan.com.cn/e_email 企业电子信箱]
 
[http://www.junyuan.com.cn/email 电子信箱]
 
[http://www.junyuan.com.cn/mailbox 邮局]
 
[http://www.junyuan.com.cn/flash_mk flash制作]
 
[http://www.junyuan.com.cn/flash_dsgn flash设计]
 
[http://www.junyuan.com.cn/ani_dsgn 动画设计]
 
[http://www.junyuan.com.cn/ani_mk 动画制作]
 
[http://www.junyuan.com.cn/mk_ani 制作动画]
 
[http://www.junyuan.com.cn/dsgn_ani 设计动画]
 
[http://www.junyuan.com.cn/ecard 多媒体电子名片]
 
[http://www.junyuan.com.cn/cdrom 多媒体设计]
 

Latest revision as of 13:32, 19 May 2005

It will be worth your while to download and install the Sample Contact Manager Applicationas it is a working example that illustrates the use of the Geeklog 2 framework. Installation should be fairly trivial as I have included all necessary PEAR libraries in the tarball (hence the unusually large footprint for such a small appliction). To install, create a database called PHPARCH and import the sql/create.sql. Be sure you have MySQL 4.1.x and that it supports the use of INNODB (it will work without it but transactions are supported by the framework). From there, edit the config.php. The comments in that file should explain everything just fine. Please email me at tony AT geeklog DOT net if you have any trouble getting the application installed.

From this point, I'm assuming that you have the sample application installed. From the login screen use tbibbs as the username (the password doesn't matter) and submit the page. That should take you to a listing of two contacts. If you have gotten that far with no errors then you are ready to proceed.

Here are the things you will learn about in this introduction:

  1. MVCnPHP
    1. Introduction to the Model-View-Controller design pattern
    2. A Note About Template Engines
    3. A Simple View
    4. Commands
    5. Introduction to Models
    6. The MVCnPHP Controller
  2. Propel
    1. Introduction to Object Relational Mapping (ORM) Tools
    2. Building the Propel Schema
    3. Building the Model Objects
  3. The Propel Data Access Object
    1. Retrieving Propel Objects
    2. Saving (Persisting) Propel Objects
    3. Deleting Propel Objects
    4. Customized Queries using Named Queries Concept