Author |
Message |
Topic: how to compile tpl files (without running each one ...) |
jobo
Replies: 5
Views: 7737
|
Forum: General Posted: Fri Nov 26, 2004 8:03 am Subject: remember to compile your config files too,not just templates |
remember to compile your config files too, not just the .tpl templates |
Topic: Searching for the missing link (database <-> template) |
jobo
Replies: 2
Views: 4894
|
Forum: General Posted: Thu Nov 18, 2004 5:06 pm Subject: Searching for the missing link (database <-> template) |
No, I wrote a general purpose framework myself, which was hard work, and the result was average.
I found a few leads, which were not brilliant. Here's two which might help you
1) formess http:// ... |
Topic: compile into .php extension(not .tpl)with use_sub_dirs=false |
jobo
Replies: 2
Views: 4371
|
Forum: General Posted: Tue Jul 13, 2004 3:38 pm Subject: compile into .php extension(not .tpl)with use_sub_dirs=false |
Thanks ! |
Topic: compile into .php extension(not .tpl)with use_sub_dirs=false |
jobo
Replies: 2
Views: 4371
|
Forum: General Posted: Tue Jul 13, 2004 3:23 pm Subject: compile into .php extension(not .tpl)with use_sub_dirs=false |
We have just changed use_sub_dirs from true to false. (This gives us a 'flat' structure for the objects in templates_c. We prefer this as it's much clearer for maintaining the production environment.) ... |
Topic: how to compile tpl files (without running each one ...) |
jobo
Replies: 5
Views: 7737
|
Forum: General Posted: Sat Jul 10, 2004 12:17 pm Subject: how to compile tpl files (without running each one ...) |
Looks nice. I'll try it. Thanks!
(Later: yes, it works. You have to get all the directories sorted out, but the solution is fine. Thanks again). |
Topic: how to compile tpl files (without running each one ...) |
jobo
Replies: 5
Views: 7737
|
Forum: General Posted: Fri Jul 09, 2004 12:48 pm Subject: how to compile tpl files (without running each one ...) |
Not quite, I'd like the mirror image (create_compiled_tpl?)
Deleting templates is the easy bit. Making sure all 100 are 100% up-to-date is a bit harder... |
Topic: how to compile tpl files (without running each one ...) |
jobo
Replies: 5
Views: 7737
|
Forum: General Posted: Fri Jul 09, 2004 12:21 pm Subject: how to compile tpl files (without running each one ...) |
Is it possible to compile tpl files automatically?
We have 100+ scripts. Last time we did a major new release, we did a lot of testing and found 4 errors due to old templates which needed re-compil ... |
Topic: Searching for the missing link (database <-> template) |
jobo
Replies: 2
Views: 4894
|
Forum: General Posted: Thu Oct 09, 2003 7:03 am Subject: Searching for the missing link (database <-> template) |
Is there an equivalent to dbform ($dbForm = new dbForm("Person", $conn, "person");
This creates a form called "Person" using the ADODB connection $conn for the table "person". At this point the cla ... |
Topic: Best practice for database transactions (add or chg record) |
jobo
Replies: 0
Views: 2907
|
Forum: General Posted: Mon Sep 15, 2003 6:01 am Subject: Best practice for database transactions (add or chg record) |
I chose Smarty because I wanted to simplify my code. For transactions which only display data, that objective is achieved, as Smarty cleanly separates the database/control functions from the user inte ... |
Topic: What editor to use for Smarty? |
jobo
Replies: 8
Views: 16621
|
Forum: General Posted: Fri Jul 25, 2003 7:38 am Subject: What editor to use for Smarty? |
I'm using DZSoft's PHP Editor.
This editor has two strong points
- good at PHP (e.g. automatically adds colour to the text)
- able to run PHP directly from the editor, so good for testing
b ... |
|