Skip to content

psaeedi/django-jom

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-jom

django-jom (Django Javascript Object Model) is a Django based library to extract Javascript objects from data models.

The base idea

django-jom is a Django/Javascript implementation of the SSMVC pattern. Interactive, rich and mobile web applications are based on the MVC pattern in which models contains the data on which the application is built. However mobile and Javascript clients are forced to replicate the MVC pattern in order to operate. The SSMVC pattern avoid code duplication by automatically extracting and synchronizing the front-end models with back-end.

How to add django-jom to your django project

First download and install django-jom as you would do for any other git-hosted django app.

Then create a jom descriptor for each model that you would like to export and run export_jom to generate the javascript code.

The jom generation path can be configured by adding JOM_ROOT to your settings file.

How to contribute

Please feel free to improve django-jom and submit a pull request.

Related information

django-jom is developed and maintained by PuzzleDev.

django-jom is based on the SSMVC pattern which was originally designed by Michele Sama (@msama) and Franco Raimondi (@fraimondi).

About

Django Javascript object model. Extracts javascript objects from Django models.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.7%
  • Python 44.1%
  • Shell 0.2%