Introduction to the Geeklog 2 FrameworkG2

From GeeklogWiki
Revision as of 08:01, 19 May 2005 by ShiYan (talk | contribs)

Jump to: navigation, search

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

霓虹灯 制作网页 建站 网页设计 网页制作 网站制作 网站设计 网站建设 企业上网 建设网站 设计网页 制作网站 网络公司 设计网站 企业建站 电子商务 数据库开发 开发数据库 程序开发 开发程序 数据库 企业邮局 企业电子信箱 电子信箱 邮局 flash制作 flash设计 动画设计 动画制作 制作动画 设计动画 多媒体电子名片 多媒体设计