|
|
| Author |
Message |
|
| Guest |
Posted: Mon Feb 26, 2007 4:21 am |
|
|
|
Guest
|
We want to do dynamic page generation and storage of a website/s, but store
the pages in a database instead of .yaws files in a directory.
So instead of using the part of the url www.website.com/page.yaws to let
the "page.yaws" content be read from a file - being able to provide a binary
for processing - providing this as a key to select a page.
Currently yaws does process the file as a binary but you have to go to a lot
of trouble to change the behaviour of loading this from a db instead of a
file.
CGI will execute an application.
This will load a .yaws file from a database or other source and process like a
normal .yaws file.
The reason for this, we supply applications to various entities, and storing
the webpages in a database will ensure that we can quickly "add" allowed
pages (which we encrypt in the database) and we can hide certain customer
specific pages from prying eyes. All pages are in a "single virtual
directory"
Doing this by keeping the yaws files in seperate directories can be done but
gets very inelegant.
Hope this makes it clearer.
On Sunday 25 February 2007 13:24:49 you wrote:
> > I have a feature request
> >
> > The ability provide binaries instead of only .yaws files as input for
> > page generation.
>
> Sorry, I'm not clear on what you mean here.
> Can you please give a specific example, or explain how this would differ
> from the CGI facility currently in place for Yaws?
>
> Cheers,
> Julian
>
> > We have been playing around with it - but rewriting yaws with every
>
> upgrade is
>
> > not appealing
--
-------------------------------------
Daniel Schutte
CEO - Erlang Financial Systems International
Mobile: +27 84 468 3138
Phone : +27 11 802 6162
-------------------------------------------------------
--
-------------------------------------
Daniel Schutte
CEO - Erlang Financial Systems International
Mobile: +27 84 468 3138
Phone : +27 11 802 6162
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Feb 26, 2007 9:00 am |
|
|
|
Guest
|
Daniel Schutte wrote:
> We want to do dynamic page generation and storage of a website/s, but store
> the pages in a database instead of .yaws files in a directory.
>
This type of application has been built many times with yaws. Actually
yaws (as we know it today) excels at that using appmods.
/klacke
--
Claes Wikstrom -- Caps lock is nowhere and
http://www.tail-f.com -- everything is under control
cellphone: +46 70 2097763
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|