-
Website
http://buildingbrowsergames.com -
Original page
http://buildingbrowsergames.com/2008/05/16/building-browsergames-setting-up-a-templating-system-php/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
gabrielbianconi
1 comment · 1 points
-
Luke
82 comments · 1 points
-
spatlabor
1 comment · 1 points
-
HughCompton
2 comments · 1 points
-
obat jerawat
1 comment · 1 points
-
-
Popular Threads
I know this framework a bit and it's very easy to mantain/change the layout, and it forces you to design your game in an object oriented way.
CakePHP sounds pretty neat - I'll check it out and look into writing something about it soon.
There is already security built in, and a nice thing about it is that if you change the table on the database you don't need to change methods for creating/updating/deleting records on the database, thus saving a lot of coding time.
If you're having trouble getting up and running with Smarty, I would
recommend that you contact support for your hosting plan and see if they can
install it for you.
If that doesn't work, you can also upload the entire Smarty library to a
local directory, and then just reference that in your PHP files instead of
an install directory.
Uploading the entire smarty libary to a local directory... That would not solve all my problems easily right? I would need a system that does not require anything more than FTP and database access... :/
Lets have a look at cakePHP.
directory is - as all you need to use Smarty is FTP access(not even
database).
As far as I'm aware, CakePHP is a lot more work to install than Smarty, as
it's a framework instead of just a templating engine - so I don't think that
CakePHP is the solution to your problems either.
However, at the moment I am still working without smarty, just because I want to fully understand exactly what is happening. Maybe I will implement smarty later on, but for now I do not really feel the need for it.
Thanks again for your great tutorial!
plz dont bully me iam kinda new at this :P
time right now - I had to actually switch to only writing twice a week back
in november because life got so busy!
Contributors are more than welcome to post videos, but I'm afraid that I
won't be right now - perhaps when my schedule gets a little less hectic.
the "smarty" installation is not too easy to configure... at least for a human just learning PHP like me. I was sucessful in the previous steps of all this... never a fail! so, I feel happines! :P but.. with this...
There is some way to do this part without the use of that? I mean... If I need some kind of skin for the game... man! long life to CSS!! I have in mind other look for my game (if I can learn some of this...) I mean... it is really necesary the use of "Smarty" for all this? The tutorial here is the best I found around the Net to learn all this stuff. It's perfect even for a noob like me. I just fail for the inclussion of this stuff here... :(
if someone can help me to translate the codes without the use of the so called "Smarty" it could be great help... I know you guys are busy people but... I'm so noob... T_T
http://smarty.net/quick_start.php? There is also a link to the windows
instructions at the top, if you're not using *nix.