dingo

0.0.18 • Public • Published

Dingo

Django inspired web development framework on NodeJS.

Usages

See, https://github.com/beedesk/dingo-example for usage.

Features

Django is a frameowork that is refined over years and are doing "millions of things" for its users.

Dingo, a Django wannabe, just got started in Dec 2013, does about 15 things. And, here is a list of items that Dingo intends to support, eventually. (checked items were implemented.)

Project structures

  • Support node apps/manage.js runserver $PORT
  • Available on npm registry (aka, npm install dingo --save)
  • Support dingo-admin startproject mysite
  • Example manage.js file available.
  • Example project folder structure available.
  • Support node apps/manage.js startapp app_xyz
  • Example app folder structure available.
  • Let you specify variables in apps/settings.js
  • Support multiple app folders under apps
  • Discover views.js file (or multiple js files under views folder) for each app.
  • Discover middleware.js file (or multiple js files under middleware folder) for each app. (Don't forget to specify it in settings.MIDDLEWARE_CLASSES.)
  • Support urls.js conf at apps folder level
  • Support app level delegate with include('app_xyz.urls')
  • Support regex url rules patterns('', url(/^app_xyz$/, 'app_xyz.views.index'))
  • Support parameters in url rules (ie, url('/owner_(P?<param_name_xyz>\d{5,10})', 'app_xyz.views.index')).
  • Support urlresolvers.reverse()
  • Support test runner node apps/manage.js test (mocha test)
  • Support test filter node apps/amange.js test app_foo app_bar.Basic.
  • Support collect static node apps/manage.js collectstatic
  • Support custom management commands node apps/manage.js xyz_custom_commands
  • Support tastypie API key authication (with embedded SQL)
  • Support Django style template (thru nunjucks).
  • Support dingo.templates.TemplateView.as_view('blogs/blog_entry.html').
  • Support dingo.shortcuts.render
  • Support templatetag.
  • Support {% url 'page' %} in template
  • Support module dependency as an plugin app (eg, settings.INSTALL_APPS = ['dingo-registration', 'dingo-notification' /*, ... */])

Major components

  • Support ORM (not anytime soon)
  • Support Account Management (not anytime soon)
  • Support Admin (not anytime soon)

Package Sidebar

Install

npm i dingo

Weekly Downloads

1

Version

0.0.18

License

BSD

Last publish

Collaborators

  • thomasyip