SG Dev Corner

SG Dev Corner

On programming, erlang, science, web design, business and politics.

 
 

7 December 2006 - ''No Silver Bullet'' and Functional Programming

''No Silver Bullet'' and Functional Programming
Interesting blog article.

Comments (0) - Leave a Comment


5 December 2006 - SGTE - update

I've started using sgte for my web development.
Using it I've found some problems and thing thath should be improved.

First of all I've added a new feature: application of an attribute to another.
$apply myFun myAttr$
If myFun is a function/1 the result of the template rendering is
myFun(myAttr)

This can be used for example when myvar is a record and you want to extract a field from the record.

Adding the apply keyword I also changed the keyword for template reference. It's not call anymore, but include. This to avoid confusion between call and apply.

I hope also to improve error reporting soon, and to add a small site, or page project with the latest version and with documentation.

The updated package can be found at the same place :-)

Comments (7) - Leave a Comment