r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Web] Everything web development related

Pekr
11-Jan-2005
[1x2]
Has anyone looked at PHP templating system called "Smarty"?
http://smarty.php.net/manual/en/preface.php
Tomc
11-Jan-2005
[3]
not yet but am slated to in the next half year
Pekr
11-Jan-2005
[4]
ah, once again mixture of script code and html - unusable unless 
uploaded and tested in production environment ... I will have to 
read further, as they promissed complete separation of work of app-programmer 
and designer ...
yeksoon
11-Jan-2005
[5x2]
we have looked at it and at the same time looked at phpsavant 
 http://phpsavant.com/yawiki/index.php?page=StartExample


for us, our key concerns is maintenance from the developer point 
of view. We want the team to stick to one language (or markup)... 
there will be times in a project, that you may not have the luxury 
of a designer...so the developer still end up working on the apps 
GUI (or look-n-feel).
think Gab has 'Temple', some time back... can't remember the exact 
name
Ammon
11-Jan-2005
[7]
What's the standard HTML/web character set?  ISO???
yeksoon
11-Jan-2005
[8]
8859?
Ammon
11-Jan-2005
[9]
That sounds right, thanks.
Chris
11-Jan-2005
[10]
http://www.w3.org/TR/html401/charset.html#h-5.2.2
and the ever useful --
http://www.unicode.org/Public/MAPPINGS/
Pekr
12-Jan-2005
[11x10]
yeksoon - you pov is right. I will start with my simple version of 
templating. I looked at various techniques, but I really don't like 
mixture of rebol and html code, as in: http://www.rebol.net/cookbook/recipes/0006.html
html is hardcoded into it and it is not good ....
I then looked int RSP, it was not exactly what I require, but was 
at least complete solution. Dunno what happened to http://www.shlik.org
, maybe Maarten moved that? I can find only some reference on rogss-gill
ross-gill - Chris' site ...
Then there is Magic! or how was it called. Now I can't even open 
rebolfrance.org ;-)
Then IIRC Maxim did some templating system too ...
And last but not least - Temple - system I liked most, although not 
finished, not documented. It was/is done by Gabriele and allows for 
complete separation of web designer and coder. Don't get me wrong, 
but I think that such system is better than typical templating aproach. 
If you will loose your GFX man, you will still be able to use it. 
OTOH without the intervention of programmer, GFX man can't change 
look with typical templating system ... my GFX guy made it clear 
to me - "I will not learn rebol, nor php, anything" - he is willing 
to understand modules and eventually to configure them ....
have you seen http://www.nvu.com/? Gecko based. They aim for something 
like Dreamwaver. IIRC, with dreamwaver, if you have e.g. some module, 
you can provide "plug-in", simply that web designer will parametrise 
you module using GUI and the rest is done under-the-hood ....
otoh most template system I looked into don't go Gabriele's route. 
They even do some kind of #include, so when you have e.g. footer 
of your page the same thru whole web, it is not necessary to be par 
t of each template page, but you can have it in separate page and 
only "include it".
Smarty uses some kind of "precompiling", so they don't need to process 
the template each time. Can anyone explain me, what does it mean? 
How does the technique work?
yeksoon
12-Jan-2005
[21x3]
I still work faster on vi(m) than nvu.. have tried that in a recent 
project... old habits die hard
I believe smarty precompiling is the similar to  what java does to 
jsp when it is first called.


the smarty template in this case is converted into php.... thereafter 
it is just including php
. we have good results using  ADOdb and ION accelerator ( http://www.php-accelerator.co.uk/
)
Graham
12-Jan-2005
[24]
Max has a web site builder .. don't know how much separation he has 
achieved though as he has never released it
Ammon
12-Jan-2005
[25]
You can see a brief overview of Remark (Maxim's site builder) here... 
http://www.rebol.it/~steel/retools/remark/index.html
Graham
12-Jan-2005
[26]
I guess having read that, it is similar to Zope ...
Maxim
12-Jan-2005
[27]
but its fully recursive and persistent... and you can mix simple 
data replacement with full-fledged custom programable tags...
Ammon
12-Jan-2005
[28]
Is there a reason you don't have it publicly available?
Maxim
12-Jan-2005
[29x5]
you can basically have the artist doing the pics and layout, and 
 a developper doing the code part...
time...
anyone really ready to use it might help me in documenting it... 
 it would really be easy...
it just needs time...
something I was waiting for anvil to make less of a job...
Maxim
13-Jan-2005
[34x2]
I do intend to make glass the standard high-end GUI engine in REBOL 
.
oops... meant for another group... sorry...
Graham
13-Jan-2005
[36]
Max, we can't tell if we really need it until we get to try it out 
;)
Ammon
13-Jan-2005
[37]
I've seen what it can do, even as a Alpha.  We need it. ;-)
Graham
13-Jan-2005
[38]
Well, there are plenty of web site building tools .. and sometimes 
a huge learning curve to get what the demos show.
Ammon
13-Jan-2005
[39]
Oh, you were talking about Remark not Glass.  I haven't tried Remark...
Graham
13-Jan-2005
[40]
I've been using make-doc for docs for websites, but need something 
as simple to make multipage websites
Maxim
13-Jan-2005
[41]
well anyone wanting to pull up his sleeves a little and who doesn't 
mind getting started by chatting over the course of a week, to figure 
out things is welcome to try it out.   Remark is my most finished 
tool of all.  It has been release level for a long time...
Graham
13-Jan-2005
[42]
url?
Maxim
13-Jan-2005
[43x2]
practically, you could VERY easily add a tag (like in an hour or 
two or receiving remark) which lets make-doc add the content within 
your site which is comprised of m-d formated text...
none...
Graham
13-Jan-2005
[45]
I don't think some of us never stop chatting
Maxim
13-Jan-2005
[46x4]
that's the "chat and ask questions part"....
;-)
I send a zip and can give guidelines, then after a little while you 
come back with a few questions and maybe someone can document the 
stuff...
I've just got so many things to do...
Graham
13-Jan-2005
[50]
let her rip or zip then :)