Activity Stream
48,167 MEMBERS
65689 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1.     
    #1
    Member
    Website's:
    Doxsters.net
    Read it, im trying for something a bit different. Also, i'm not doing it just because I want a template engine, its more learning the php behind it. I learn by doing stuff, I can't just read a book and learn it, I prefer to code and learn as I'm coding through trial and error
    timtamboy63 Reviewed by timtamboy63 on . Trying to code my own template engine. Ive got the basics working, it replaces variables. Now what I need it to do is replace for example {header} with the contents of header.tpl. How would I do that? I'm thinking of trying to use preg_match to do it, but im not too sure how to use it, etc. Is this the best way to do it? Thanks, timtam Rating: 5

    Need a Designer/Web Developer? Click Me

    MSN: PM me for it.
    Email(Preferred):timtamboy63@gmail.com

    "Power Corrupts. Absolute Power Corrupts Absolutely"

  2.   Sponsored Links

  3.     
    #2
    Member
    well, dont use or invent any new syntax ({}, [] etc..), use classic php
    if you will try to implement it with your syntax you will have to develop Cache layout so the app wont have to parse template every time and with that comes much more troubles (not really but its work which is not needed)

  4.     
    #3
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    lmao...

    Your learning poor coding tho if your going to be learning php, stick to objects, you think sites like facebook,google,youtube,orkut use template engines..... i doubt it.

    Listen to the master stick to learning objects and speed.
    Join Litewarez.net today and become apart of the community.
    Unique | Clean | Advanced (All with you in mind)
    Downloads | Webmasters


    Notifications,Forum,Chat,Community all at Litewarez Webmasters


  5.     
    #4
    Member
    actually i think they use some basic like one in Zend Framework (just to separate application logic from interface). But yeah, he is right. Stick to learning objects, OOP is most basic knowledge in this business, you will need it when you will be learning other programming languages ..

  6.     
    #5
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    *Wamer is Litewarez's Disciple*
    Join Litewarez.net today and become apart of the community.
    Unique | Clean | Advanced (All with you in mind)
    Downloads | Webmasters


    Notifications,Forum,Chat,Community all at Litewarez Webmasters


  7.     
    #6

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [Selling] MP3 Search Engine Script - Promotion Code %50 off for limited time!
    By tcmcem in forum Marketplace (Buy, Sell and Trade)
    Replies: 0
    Last Post: 4th Aug 2012, 09:54 AM
  2. [Selling] MP3 Search Engine Script - Promotion Code %50 off for limited time!
    By tcmcem in forum Completed Transactions
    Replies: 1
    Last Post: 28th Jul 2012, 03:34 AM
  3. parse if's in my template engine?
    By timtamboy63 in forum Web Development Area
    Replies: 6
    Last Post: 28th Jul 2010, 01:37 AM
  4. [Selling] Datalife Engine 8.5 Translated Template
    By Last Word in forum Completed Transactions
    Replies: 0
    Last Post: 9th Jul 2010, 09:34 AM
  5. How to translate datalife engine template?
    By desibreaker in forum Webmaster Discussion
    Replies: 6
    Last Post: 21st Dec 2009, 03:13 AM

Tags for this Thread

BE SOCIAL