Application based on Zotonic

15 views
Skip to first unread message

Juan Jose Comellas

unread,
Jan 13, 2012, 4:43:43 PM1/13/12
to zotoni...@googlegroups.com
Let's say I wanted to create an application based on Zotonic, how
would I go about it? I don't mean just creating a web site, though I'd
surely be using it for that. I mean something like newegg.com or
salesforce.com, where I'd have a lot of data that would be used to
presentation purposes but I'd also have a lot of data that would
probably have to live outside of the Zotonic data model and that I
would like to show within Zotonic-rendered pages. I'm referring to
statistics, sales data, orders, etc., that I would like to keep in my
own tables. Suppose I already have an Erlang application and now I
want to give it a web interface and I want to do it with Zotonic.
Should I create some kind of gluing layer in a Zotonic module? How
would I be able to access my data from Zotonic's templates? How would
I start my application's processes that are not related to Zotonic?

After some months, it now looks like I will have some time to devote
to this and I'm looking for some pointers or tips to soften the
learning curve.

Thanks,

Juanjo

Andreas Stenius

unread,
Jan 13, 2012, 6:09:16 PM1/13/12
to zotoni...@googlegroups.com
Read up on models.
Some brief pointer may be found in my blog post:
http://blog.astekk.se/en/article/347/writing-your-own-zotonic-module-part-iv
Should perhaps write a post devoted to the topic of models alone.

Also, a bunch of models to learn from here:
https://github.com/zotonic/zotonic/tree/master/src/models

//Andreas

2012/1/13 Juan Jose Comellas <jcom...@gmail.com>:

Reply all
Reply to author
Forward
0 new messages