GithubHelp home page GithubHelp logo

edwardt / zotonic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chanchaij/zotonic

1.0 3.0 0.0 16.43 MB

This is the official git repo for Zotonic, the Erlang CMS. It is updated periodically from Zotonic's authoritative Mercurial repository at http://code.google.com/p/zotonic

Home Page: http://zotonic.com/

License: Apache License 2.0

zotonic's Introduction

Welcome to Zotonic

Here are some starting points for your journey with Zotonic.

INSTALLING

When you want to install Zotonic, please read the file "doc/INSTALL".

When you want to proxy Zotonic using nginx, then check also the file "doc/INSTALL.nginx" for an example site definition. Similarly, doc/INSTALL.varnish shows how to put Zotonic behind the varnish http frontend.

FOR ERLANG HACKERS

When you want to read the source, then start with "src/zotonic_sup.erl" and work your way down using the servers defined in there. After you have an idea what is what. Then check the modules to see how they implement all the functionality, start with "mod_base".

FOR TEMPLATE WIZARDS

Sites live in priv/sites/*. Their templates are in organized in subfolders. For the templates of the default site, look in priv/sites/default/templates.

After that, start to scan the modules to see how templates, actions, resources and css/javascript are defined. Especially the module "mod_base" is of interest as it defines all basic functionality which other modules build upon. From there continue with "mod_admin" and see how it defines the admin interface, start with the webmachine resources to see which template is used by which resource.

FOR SQL MAGICIANS

Another useful source of information is the module "src/install/z_install.erl", this erlang module contains the base SQL datamodel. Check also "src/install/z_install_data.erl" as it defines a basic set of predicates, categories and whatnot.

Thank you and have fun with Zotonic.

Tim Benniks, Arjan Scherpenisse & Marc Worrell

zotonic's People

Contributors

mworrell avatar atillae avatar mmzeeman avatar dhedlund avatar

Stargazers

edwardt avatar

Watchers

edwardt avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.