|
-
Dec 4th, 2010, 08:26 AM
#1
[RESOLVED] How to effectively use templates in my web application ?
Hi...
I'm developing a web application now. But I wish to allow customization of my web application through templates.
So, what are your recommendations/suggestions on this ? 
Thanks
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Oct 12th, 2011, 11:57 PM
#2
Re: How to effectively use templates in my web application ?
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Oct 13th, 2011, 09:36 PM
#3
Re: How to effectively use templates in my web application ?
I suggest trying something like Smarty. It separates design from code so you can easily switch out templates and design.
-
Oct 13th, 2011, 10:17 PM
#4
Re: How to effectively use templates in my web application ?
I haven't used it extensively, but I dislike Smarty for its custom syntax; I don't feel like it makes things simpler.
You might want to look at MVC frameworks for help with separation of presentation from logic; while not perfect, CakePHP has been useful in some places. I found that I liked the MVC pattern, but wasn't enamored of Cake, so I've been rolling my own little framework for personal projects.
-
Oct 14th, 2011, 04:39 AM
#5
Re: How to effectively use templates in my web application ?
Thanks guys
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Oct 14th, 2011, 05:35 AM
#6
Re: How to effectively use templates in my web application ?
I actually like Smarty.
In my opinion it has a cleaner syntax in between HTML than regular PHP code.
Extending the Smarty with functions and modifiers is pretty easy.
Delete it. They just clutter threads anyway.
-
Oct 14th, 2011, 05:43 AM
#7
Re: How to effectively use templates in my web application ?
Thanks
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Oct 24th, 2011, 12:36 AM
#8
Re: [RESOLVED] How to effectively use templates in my web application ?
Many are saying that, Smarty is old and Dwoo is a good alternative to it.
I found a comparison sheet: http://www.phpcomparison.net/
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Oct 24th, 2011, 03:03 AM
#9
Re: [RESOLVED] How to effectively use templates in my web application ?
Don't agree.
While that might have been true 3 years ago when Dwoo was founded, meanwhile Smarty 3 was released and the latest update was 5 days ago.
Delete it. They just clutter threads anyway.
-
Oct 24th, 2011, 04:19 AM
#10
Re: [RESOLVED] How to effectively use templates in my web application ?
Thanks 
I'll go with Smarty then.
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
-
Oct 27th, 2011, 10:54 PM
#11
Re: [RESOLVED] How to effectively use templates in my web application ?
I have been using Smarty with my most recent project. it really helps with my mobile version because i can load the same php file, but detect if it is mobile, and show a jQuery mobile page.
-
Oct 27th, 2011, 11:44 PM
#12
Re: [RESOLVED] How to effectively use templates in my web application ?
Thanks for the info 
If my post was helpful to you, then express your gratitude using Rate this Post. 
And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet
Social Group: VBForums - Developers from India
Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|