LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 07-06-2005, 10:14 PM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Creating a PHP templating system - any ideas?


I'm going to work on a new PHP script that will create a link directory website and I wanted some ideas on how to create a templating system where I can separate the content from the code.

I have searched the web ages for this, but all I get is 3rd party PHP script sites. I want an idea of the logic so that I can create my own templating system. Even no code examples are required. I would just like some detailed pseudo code or logical code.

The application will be simple, but I am going to create registration for users so that users have to sign up before submitting links and also a moderation feature where links will have to be approved before they appear.

By the way I am going to write this in XHTML fully compliant code.
 
Old 07-06-2005, 10:51 PM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Original Poster
Rep: Reputation: 121Reputation: 121
Hmm... today I searched using a different string and found one. For those interested in templating in PHP, I found this excellent little tutorial,

http://codewalkers.com/tutorials/58/1.html

This is a very basic templating system, very simple and easy to implement too.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone, give me some ideas (PHP) Alexander.s Programming 2 05-22-2005 03:55 AM
Creating a linux user through php taqs Programming 6 08-24-2004 12:29 PM
Creating page tabs w/ php linux_pioneer Programming 1 07-22-2004 12:58 PM
Looking for ideas on creating Linux software "installer" that has no visible source. child_of_dust Linux - Software 3 07-07-2004 09:32 AM
Creating form with PHP absolut Linux - Newbie 1 01-21-2004 01:11 AM


All times are GMT -5. The time now is 07:30 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration