Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


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

Rep: Reputation: 135Reputation: 135
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, 11:51 PM   #2
Senior Member
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

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

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


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 04:55 AM
Creating a linux user through php taqs Programming 6 08-24-2004 01:29 PM
Creating page tabs w/ php linux_pioneer Programming 1 07-22-2004 01:58 PM
Looking for ideas on creating Linux software "installer" that has no visible source. child_of_dust Linux - Software 3 07-07-2004 10:32 AM
Creating form with PHP absolut Linux - Newbie 1 01-21-2004 02:11 AM

All times are GMT -5. The time now is 09:26 PM.

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