SlideShare a Scribd company logo
Zend Lab
leonguyen.com
Features
- Purpose: An open source Zend CMS
- GUI: Bootstrap + jQuery + Dojo
- Technology: Zend 2 + Node.js + NoSQL
Modules
- Content:
+ News, Media (Photo-Video|Infographic-Mindmap), Slide
+ Products-Cart, Vote-Survey-Chat, Form+App
- Channel:
+ Web, Tablet, Mobile, Email, SMS, Print
Design
- Logo & Icon
- Color scheme & Pattern
- Typography
- Elements
Layout - Responsive
Layout - Metro
Zend Core
Installation
- Download Zend Server Community Edition (include Zend
Framework 2.0) (http://framework.zend.com/downloads/latest)
Start Zend Server
- Go to http://localhost:10081/ZendServer
Generate a Trial License for Zend Server
- Go to http://www.zend.com/en/products/server/license
Config Zend Application
- Download Zend Skeleton Application (https://github.
com/zendframework/ZendSkeletonApplication)
New Environtment Variables
Config Windows Host
- Go to: C:WindowsSystem32driversetchosts
Config Zend Server Host
- Go to: C:Program FilesZendZendServeretcsites.d
- Make host file: 'vhost_zendcms.com.conf'
- Restart Zend Server
Start ZF2 Skeleton Application
- Go to: http://zendcms.com
Config Zend Module
- Download Zend Skeleton Module (https://github.
com/zendframework/ZendSkeletonModule)
Add Skeleton Module
- Go to: <Source Path>zendcmsmodule
- Extract to: 'ZendSkeletonModule'
Config application.config
- Go to: <Source Path>zendcmsconfig
- Edit file: 'application.config.php'
Config module.config
- Go to: <Source Path>zendcmsmoduleZendSkeletonModuleconfig
- Edit file: 'module.config.php'
Start Skeleton Module
- Go to: http://zendcms.com/skeleton
Zend MVC
- Programmer’s Reference Guide of Zend Framework 2: http://framework.zend.com/manual/2.
0/en/index.html#zendframeworkreference
MVC Diagram
DAO Design Pattern
Describe Album Module
- The application that we are going to build is a simple inventory system
to display which albums we own. The main page will list our collection
and allow us to add, edit and delete CDs.
Page Description
List of albums
This will display the list of albums and provide links to edit and delete them.
Also, a link to enable adding new albums will be provided.
Add new album This page will provide a form for adding a new album.
Edit album This page will provide a form for editing an album.
Delete album This page will confirm that we want to delete an album and then delete it.
Create directories
- Creating following directories.
Create Module.php
- Create 'Module.php' in the Album module.
Configuration
- Create a file 'module.config.php' under <Source
Path>zendcmsmoduleAlbumconfig
Config application.config
- Go to: <Source Path>zendcmsconfig
- Edit file: 'application.config.php'
Routing and controllers
- As we have four pages that all apply to albums, we will group them in
a single controller AlbumController within our Album module as four
actions
Page Controller Action
Home AlbumController index
Add new album AlbumController add
Edit album AlbumController edit
Delete album AlbumController delete
Add Router
- Modify 'module.
config.php' under
<Source
Path>zendcmsmodul
eAlbumconfig
Create the Controller
- Create controller class 'AlbumController.php' under <Source
Path>moduleAlbumsrcAlbumController
DB Schema
- Create SQL statements to create the album table.
Create the Model
- Create model class 'Album.php' under <Source
Path>moduleAlbumsrcAlbumModel
Create the Model Table
- Create model class
'AlbumTable.php' under
<Source
Path>moduleAlbumsrcAlbu
mModel
Using ServiceManager to configure the
table gateway and inject into the
AlbumTable
- Create 'Module.php'
in the Album module.
Config DB Driver
- Modify 'global.php' under <Source Path>configautoload
Config DB Credentials
- Modify 'local.php' under <Source Path>configautoload
Create the View
- Create view 'index.phtml' under <Source
Path>moduleAlbumviewalbumalbum
Open Album
- Go to: http://zendcms.com/album
Forms and Actions - Add album - Form
- Create view 'AlbumForm.php' under
<Source
Path>moduleAlbumsrcAlbumForm
Forms and Actions - Add album - Model
- Modify model class 'Album.php'
under <Source
Path>moduleAlbumsrcAlbumM
odel
Forms and Actions - Add album - Controller
- Modify controller class 'AlbumController.php' under <Source
Path>moduleAlbumsrcAlbumController
Forms and Actions - Add album - View
- Create view 'add.phtml' under <Source
Path>moduleAlbumviewalbumalbum
Forms and Actions - Add album - Open
- Go to: http://zendcms.com/album/add
Forms and Actions - Edit album - Controller
- Modify controller class
'AlbumController.php' under
<Source
Path>moduleAlbumsrcAlbumC
ontroller
Forms and Actions - Edit album - Model
- Modify model class 'Album.php' under <Source
Path>moduleAlbumsrcAlbumModel
Forms and Actions - Edit album - View
- Create view 'edit.phtml' under <Source
Path>moduleAlbumviewalbumalbum
Forms and Actions - Delete album - Controller
- Modify controller class
'AlbumController.php' under
<Source
Path>moduleAlbumsrcAlbumC
ontroller
Forms and Actions - Edit album - View
- Create view 'delete.phtml' under <Source
Path>moduleAlbumviewalbumalbum
Zend Authentication
Zfc [Base.User.Acl]
- Download (https://github.com/ZF-Commons/ZfcUser)
(https://github.com/ZF-Commons/ZfcBase)
(https://github.com/bjyoungblood/BjyAuthorize)
Add ZfcBase, ZfcUser, BjyAuthorize
- Go to: <Source Path>zendcmsvendor
- Extract to: 'ZfcUser', 'ZfcBase', 'BjyAuthorize'
Config application.config
- Go to: <Source Path>zendcmsconfig
- Edit file: 'application.config.php'
Make database.local
- Go to: <Source Path>zendcmsconfigautoload
- Create file: 'database.local.php'
Start url User
- Go to: http://zendcms.com/user/login
DB List
Star:
1) User (u)
2) Tag (t): Page, Menu, Category
3) Post (p): Article, Products, Banner
4) Meta (m): Media
5) Option (o): Configuration
Table List
1) u: uId, uName, uPass, uEmail, uDesc
2) t: tId, tName, tDesc
3) p: pId, uId, pTitle, pContent
4) m: mId, pId, mKey, mValue
5) o: oId, oKey, oValue
1) User (u)
CREATE TABLE `user` (
`uId` INT NOT NULL AUTO_INCREMENT ,
`uName` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT
NULL ,
`uPass` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
,
`uEmail` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL
,
`uDesc` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
,
PRIMARY KEY ( `uId` )
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci
2) Tag (t)
CREATE TABLE `tag` (
`tId` INT NOT NULL AUTO_INCREMENT ,
`tName` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`tDesc` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
PRIMARY KEY ( `tId` )
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci
3) Post (p)
CREATE TABLE `post` (
`pId` INT NOT NULL AUTO_INCREMENT ,
`uId` INT NOT NULL ,
`pTitle` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`pContent` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
PRIMARY KEY ( `pId` )
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci
4) Meta (m)
CREATE TABLE `meta` (
`mId` INT NOT NULL AUTO_INCREMENT ,
`pId` INT NOT NULL ,
`mKey` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`mValue` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
PRIMARY KEY ( `mId` )
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci
5) Option (o)
CREATE TABLE `option` (
`oId` INT NOT NULL AUTO_INCREMENT ,
`oKey` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
`oValue` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
PRIMARY KEY ( `oId` )
) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci
Login
Back-end
I) User Manager (Permission)
II) Tag Manager (Grid hierachy)
III) Layout Manager (Row added elements)
Star: 1) Header, 2) Content, 3) Footer, 4) Top, 5) Bottom
IV) Media Manager
V) Option Manager
Pyramid: Navigation (Circle -> Menu) -> Datatable (Search-Filter,
Action,Grid-Edit) -> Form (Main Input,Desc Grid) + Custom
Github
- Go to: https://github.com/leonguyen/zendcms

More Related Content

PDF
浜松Rails3道場 其の壱 プロジェクト作成〜Rouging編
PDF
Robert Murdock Band Brings 60s back to S.A. (The Suburban)
PDF
New BYOB Law for Sayreville (The Suburban)
PPTX
21.search in laravel
PDF
Die Macher von Morgen - Eine deutschlandweite Studie zu jungen Berufstätigen ...
PDF
South Amboy of 1920s Is Theme of Fundraiser (The Suburban)
PDF
Self Review and Personal Growth
ODP
浜松Rails3道場 其の壱 プロジェクト作成〜Rouging編
Robert Murdock Band Brings 60s back to S.A. (The Suburban)
New BYOB Law for Sayreville (The Suburban)
21.search in laravel
Die Macher von Morgen - Eine deutschlandweite Studie zu jungen Berufstätigen ...
South Amboy of 1920s Is Theme of Fundraiser (The Suburban)
Self Review and Personal Growth

What's hot (19)

PDF
Mojolicious
TXT
Date difference[1]
PPTX
Views notwithstanding
PDF
Late South Amboy Man Honored at Memorial (The Suburban)
ODP
Web Scraping
PPTX
Service approach for development REST API in Symfony2
PDF
South Amboy Lays Out Plans for 2009 (The Suburban)
KEY
TwitterKitではじめる OAuthスピードクッキング
PPTX
Service approach for development Rest API in Symfony2
ZIP
Merb Router
PPTX
16.mysql stored procedures in laravel
PDF
2008-12-04 - Roller Rink Marks 50 Years
PDF
zthere construction
PDF
English
PPT
Joomla! Day UK 2009 .htaccess
PDF
Mason - A Template system for us Perl programmers
PDF
Silex Cheat Sheet
PDF
Apostrophe
Mojolicious
Date difference[1]
Views notwithstanding
Late South Amboy Man Honored at Memorial (The Suburban)
Web Scraping
Service approach for development REST API in Symfony2
South Amboy Lays Out Plans for 2009 (The Suburban)
TwitterKitではじめる OAuthスピードクッキング
Service approach for development Rest API in Symfony2
Merb Router
16.mysql stored procedures in laravel
2008-12-04 - Roller Rink Marks 50 Years
zthere construction
English
Joomla! Day UK 2009 .htaccess
Mason - A Template system for us Perl programmers
Silex Cheat Sheet
Apostrophe
Ad

Viewers also liked (16)

PDF
Spring Lab
PDF
Mobile Resources
PDF
After Effect Lab
PDF
Android.AntiSpam Lab
PDF
Design Collections
PDF
Android Lab
PDF
Laravel Lab
PPTX
Ladou Corporate Presentation
PDF
International Journal of Engineering Research and Development (IJERD)
PDF
Qualification - Diploma - SPILLAY
PPT
Régimen Académico Primaria
PDF
EAM Solution brochure _English_7070
DOC
Su dung tieng anh va cac khau ngu
PDF
Passarelli Bachelor Degree
PPTX
Lebanon roofing 888 778 0212
Spring Lab
Mobile Resources
After Effect Lab
Android.AntiSpam Lab
Design Collections
Android Lab
Laravel Lab
Ladou Corporate Presentation
International Journal of Engineering Research and Development (IJERD)
Qualification - Diploma - SPILLAY
Régimen Académico Primaria
EAM Solution brochure _English_7070
Su dung tieng anh va cac khau ngu
Passarelli Bachelor Degree
Lebanon roofing 888 778 0212
Ad

Similar to Zend Lab (20)

PPTX
Zend framework
ODP
Zend Framework 1.9 Setup & Using Zend_Tool
PDF
PDF
php-and-zend-framework-getting-started
PDF
php-and-zend-framework-getting-started
PDF
php-and-zend-framework-getting-started
PDF
php-and-zend-framework-getting-started
PPTX
Getting up & running with zend framework
PPTX
Getting up and running with Zend Framework
DOCX
Zend framework 2.0
PDF
Getting started-with-zend-framework
PDF
Performance tuning with zend framework
PDF
Zend Server Data Caching
KEY
PDF
Zend Framework 1.8 workshop
PPTX
[PHP] Zend_Db (Zend Framework)
PPTX
Get Started with Zend Framework 2
PPT
Zend Framework
PPTX
PHP on IBM i Tutorial
Zend framework
Zend Framework 1.9 Setup & Using Zend_Tool
php-and-zend-framework-getting-started
php-and-zend-framework-getting-started
php-and-zend-framework-getting-started
php-and-zend-framework-getting-started
Getting up & running with zend framework
Getting up and running with Zend Framework
Zend framework 2.0
Getting started-with-zend-framework
Performance tuning with zend framework
Zend Server Data Caching
Zend Framework 1.8 workshop
[PHP] Zend_Db (Zend Framework)
Get Started with Zend Framework 2
Zend Framework
PHP on IBM i Tutorial

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Empathic Computing: Creating Shared Understanding
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
cuic standard and advanced reporting.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Building Integrated photovoltaic BIPV_UPV.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Diabetes mellitus diagnosis method based random forest with bat algorithm
The AUB Centre for AI in Media Proposal.docx
MIND Revenue Release Quarter 2 2025 Press Release
sap open course for s4hana steps from ECC to s4
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Empathic Computing: Creating Shared Understanding
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
cuic standard and advanced reporting.pdf
Advanced methodologies resolving dimensionality complications for autism neur...

Zend Lab

  • 2. Features - Purpose: An open source Zend CMS - GUI: Bootstrap + jQuery + Dojo - Technology: Zend 2 + Node.js + NoSQL
  • 3. Modules - Content: + News, Media (Photo-Video|Infographic-Mindmap), Slide + Products-Cart, Vote-Survey-Chat, Form+App - Channel: + Web, Tablet, Mobile, Email, SMS, Print
  • 4. Design - Logo & Icon - Color scheme & Pattern - Typography - Elements
  • 8. Installation - Download Zend Server Community Edition (include Zend Framework 2.0) (http://framework.zend.com/downloads/latest)
  • 9. Start Zend Server - Go to http://localhost:10081/ZendServer
  • 10. Generate a Trial License for Zend Server - Go to http://www.zend.com/en/products/server/license
  • 11. Config Zend Application - Download Zend Skeleton Application (https://github. com/zendframework/ZendSkeletonApplication)
  • 13. Config Windows Host - Go to: C:WindowsSystem32driversetchosts
  • 14. Config Zend Server Host - Go to: C:Program FilesZendZendServeretcsites.d - Make host file: 'vhost_zendcms.com.conf' - Restart Zend Server
  • 15. Start ZF2 Skeleton Application - Go to: http://zendcms.com
  • 16. Config Zend Module - Download Zend Skeleton Module (https://github. com/zendframework/ZendSkeletonModule)
  • 17. Add Skeleton Module - Go to: <Source Path>zendcmsmodule - Extract to: 'ZendSkeletonModule'
  • 18. Config application.config - Go to: <Source Path>zendcmsconfig - Edit file: 'application.config.php'
  • 19. Config module.config - Go to: <Source Path>zendcmsmoduleZendSkeletonModuleconfig - Edit file: 'module.config.php'
  • 20. Start Skeleton Module - Go to: http://zendcms.com/skeleton
  • 21. Zend MVC - Programmer’s Reference Guide of Zend Framework 2: http://framework.zend.com/manual/2. 0/en/index.html#zendframeworkreference
  • 24. Describe Album Module - The application that we are going to build is a simple inventory system to display which albums we own. The main page will list our collection and allow us to add, edit and delete CDs. Page Description List of albums This will display the list of albums and provide links to edit and delete them. Also, a link to enable adding new albums will be provided. Add new album This page will provide a form for adding a new album. Edit album This page will provide a form for editing an album. Delete album This page will confirm that we want to delete an album and then delete it.
  • 25. Create directories - Creating following directories.
  • 26. Create Module.php - Create 'Module.php' in the Album module.
  • 27. Configuration - Create a file 'module.config.php' under <Source Path>zendcmsmoduleAlbumconfig
  • 28. Config application.config - Go to: <Source Path>zendcmsconfig - Edit file: 'application.config.php'
  • 29. Routing and controllers - As we have four pages that all apply to albums, we will group them in a single controller AlbumController within our Album module as four actions Page Controller Action Home AlbumController index Add new album AlbumController add Edit album AlbumController edit Delete album AlbumController delete
  • 30. Add Router - Modify 'module. config.php' under <Source Path>zendcmsmodul eAlbumconfig
  • 31. Create the Controller - Create controller class 'AlbumController.php' under <Source Path>moduleAlbumsrcAlbumController
  • 32. DB Schema - Create SQL statements to create the album table.
  • 33. Create the Model - Create model class 'Album.php' under <Source Path>moduleAlbumsrcAlbumModel
  • 34. Create the Model Table - Create model class 'AlbumTable.php' under <Source Path>moduleAlbumsrcAlbu mModel
  • 35. Using ServiceManager to configure the table gateway and inject into the AlbumTable - Create 'Module.php' in the Album module.
  • 36. Config DB Driver - Modify 'global.php' under <Source Path>configautoload
  • 37. Config DB Credentials - Modify 'local.php' under <Source Path>configautoload
  • 38. Create the View - Create view 'index.phtml' under <Source Path>moduleAlbumviewalbumalbum
  • 39. Open Album - Go to: http://zendcms.com/album
  • 40. Forms and Actions - Add album - Form - Create view 'AlbumForm.php' under <Source Path>moduleAlbumsrcAlbumForm
  • 41. Forms and Actions - Add album - Model - Modify model class 'Album.php' under <Source Path>moduleAlbumsrcAlbumM odel
  • 42. Forms and Actions - Add album - Controller - Modify controller class 'AlbumController.php' under <Source Path>moduleAlbumsrcAlbumController
  • 43. Forms and Actions - Add album - View - Create view 'add.phtml' under <Source Path>moduleAlbumviewalbumalbum
  • 44. Forms and Actions - Add album - Open - Go to: http://zendcms.com/album/add
  • 45. Forms and Actions - Edit album - Controller - Modify controller class 'AlbumController.php' under <Source Path>moduleAlbumsrcAlbumC ontroller
  • 46. Forms and Actions - Edit album - Model - Modify model class 'Album.php' under <Source Path>moduleAlbumsrcAlbumModel
  • 47. Forms and Actions - Edit album - View - Create view 'edit.phtml' under <Source Path>moduleAlbumviewalbumalbum
  • 48. Forms and Actions - Delete album - Controller - Modify controller class 'AlbumController.php' under <Source Path>moduleAlbumsrcAlbumC ontroller
  • 49. Forms and Actions - Edit album - View - Create view 'delete.phtml' under <Source Path>moduleAlbumviewalbumalbum
  • 51. Zfc [Base.User.Acl] - Download (https://github.com/ZF-Commons/ZfcUser) (https://github.com/ZF-Commons/ZfcBase) (https://github.com/bjyoungblood/BjyAuthorize)
  • 52. Add ZfcBase, ZfcUser, BjyAuthorize - Go to: <Source Path>zendcmsvendor - Extract to: 'ZfcUser', 'ZfcBase', 'BjyAuthorize'
  • 53. Config application.config - Go to: <Source Path>zendcmsconfig - Edit file: 'application.config.php'
  • 54. Make database.local - Go to: <Source Path>zendcmsconfigautoload - Create file: 'database.local.php'
  • 55. Start url User - Go to: http://zendcms.com/user/login
  • 56. DB List Star: 1) User (u) 2) Tag (t): Page, Menu, Category 3) Post (p): Article, Products, Banner 4) Meta (m): Media 5) Option (o): Configuration
  • 57. Table List 1) u: uId, uName, uPass, uEmail, uDesc 2) t: tId, tName, tDesc 3) p: pId, uId, pTitle, pContent 4) m: mId, pId, mKey, mValue 5) o: oId, oKey, oValue
  • 58. 1) User (u) CREATE TABLE `user` ( `uId` INT NOT NULL AUTO_INCREMENT , `uName` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `uPass` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `uEmail` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `uDesc` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , PRIMARY KEY ( `uId` ) ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci
  • 59. 2) Tag (t) CREATE TABLE `tag` ( `tId` INT NOT NULL AUTO_INCREMENT , `tName` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `tDesc` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , PRIMARY KEY ( `tId` ) ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci
  • 60. 3) Post (p) CREATE TABLE `post` ( `pId` INT NOT NULL AUTO_INCREMENT , `uId` INT NOT NULL , `pTitle` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `pContent` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL , PRIMARY KEY ( `pId` ) ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci
  • 61. 4) Meta (m) CREATE TABLE `meta` ( `mId` INT NOT NULL AUTO_INCREMENT , `pId` INT NOT NULL , `mKey` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `mValue` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , PRIMARY KEY ( `mId` ) ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci
  • 62. 5) Option (o) CREATE TABLE `option` ( `oId` INT NOT NULL AUTO_INCREMENT , `oKey` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , `oValue` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL , PRIMARY KEY ( `oId` ) ) ENGINE = MYISAM CHARACTER SET utf8 COLLATE utf8_general_ci
  • 63. Login
  • 64. Back-end I) User Manager (Permission) II) Tag Manager (Grid hierachy) III) Layout Manager (Row added elements) Star: 1) Header, 2) Content, 3) Footer, 4) Top, 5) Bottom IV) Media Manager V) Option Manager Pyramid: Navigation (Circle -> Menu) -> Datatable (Search-Filter, Action,Grid-Edit) -> Form (Main Input,Desc Grid) + Custom
  • 65. Github - Go to: https://github.com/leonguyen/zendcms