Coder Social home page Coder Social logo

nemo's People

Contributors

9cloudmachine avatar christyoreillyrevector avatar jagguli avatar kaysackey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nemo's Issues

Apps Directory Templates

How to repeat:

  1. Place a file 1.mako in /templates underneath an application.
  2. Try to load it from a view

It will not be found because the app_directories.Loader isn't being emualted.

You can solve this by adding your app template to TEMPLATE_DIR in settings.py but this isn't a long-term solution because eventaully apps will be written that use nemo as the default template language.

Easy Syntax for Mako Defs

Calling a Mako def is done like so:

<namespace:method arg="">
</namespace:method>

Which is a bit verbose. However if we can trim it down to something like this:

% namespace:method arg=""

Then we'd be able to gain the glories of DMSL-like filters without actually having to code anything.

Example:

% head 
    % compress:js
          /js/main.js
          /js/jquery.js

Then the compress def acts to compress those files, and output a link to the compressed copy.

Using with Django templates

Setting up djmako with "pip install djmako" makes mako templates working just fine. But Django admin doesn't work afterwards. Here is the solution that worked on my end https://github.com/spinus/djmako. Take a look if you can have it to update nemo's wiki page. Thanks

PyPI Indexing

Why isn't this project up on PyPI? You don't even have a setup.py file.

Pip not working?

I get:

$ pip install nemo-templates Collecting nemo-templates Could not find a version that satisfies the requirement nemo-templates (from versions: ) No matching distribution found for nemo-templates

Permissive vs Strict

Right now nemo runs in strict mode.

Enable a permissive mode to allow mixed indentation of html and nemo statements.

The with 'indentation' in their name check against this. They are expected to succeed in permissive mode.

Remove requirement that Mako control tags be closed

This requirement came from mako where indentation is unimportant.
Perhaps, set a flag that allows tags to be unclosed and automatically closes them.

Ideally, it should only be disabled under strict mode.

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.