Hi vpl,
you can interpret TiddlyWiki as a Storage coupled with a template
engine. As such it is pretty easy to generate (static) HTML pages based
on tiddlers.
So to go from a TW with tiddlers containing your data to a set of HTML
pages representing that data, you would only need a template where you
put in the fields of the tiddler in the right place. I assume you are
working with nodejs, so take a look at the rendertiddler/s commands [1],
that should get you going into the right direction. You will only need
new macros/widgets if your data needs to be worked on in some way to
produce the desired result.
However, not knowing your excact requirements, I can imagine that if it
is not too complicated, you can probably implement the whole process in
vanilla TiddlyWiki (maybe with some additional macros)
/Andreas
[1] http://tiddlywiki.com/#RenderTiddlersCommand and
http://tiddlywiki.com/#RenderTiddlerCommand
Am 19.09.2014 14:33, schrieb vpl:
Hi,
I need to build a web site, similar to a catalog for accessing a large
number of pages that will be formated the same way (real-estate agency
portal).
The decision has been taken to use TW5 as a Database. For many reason:
portability, and ease to create new tiddler following a given template
(for non developper), portability, price, and ... stability !!
Nevertheless it's too complex for us to develop a front-end UI totally
based on TW5 to reach the level of look and feel requested.
My initial intend is to develop a small intermediate script that take
in input the TW5 export (content & field) and produce the HTML pages I
need for the web portal.
I've touch the macro development of TW5, not plugin yet .. but all is
javascript based.
I know also that using external js library of TW5 is not possible as
long as they are not part of a "packaged" plugin (and they are very
nice HTML parser Javascript lib available).
So I'm wondering
If I choose to develop this "intermediat" process into TW5 what would
be the best direction ? Macro, Module, Plugin ?
In this case where Am I limited in term of Js lib when developing ?
Could you sketch me briefly the direction to take for doing that into
TW5 ?
Would be great to get your inputs
Regards
Vpl
--
You received this message because you are subscribed to the Google
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.