Nodejs template system documentation - node.js

I want to create my own template system for node.js (just for educational purposes), but I can't find any useful information to start with. Are there any good tutorials out there which could help me?
Thanks!

Jison docs would be a good place to start. A breakdown of how it's used to build a parser for the CoffeeScript grammar may be helpful in seeing the big picture.
References
npm: An UriTemplate implementation of rfc 6570

Related

How to compile CGAL code into a shared library?

This is a pretty rookie question, but unfortunately I'm not really familiar with cmake or CGAL. I just can't figure out how to configure cmake to generate a shared library from my source code. I looked through some docs and some pages on github, but I don't seem to get anywehere.
I would be really grateful if someone could point me to some documentation, or provide an example CMakeLists.txt or something (to be honest I'm completely lost here).
I need the .so-s for a python binding for some functionality of the 2D arrangements package.
The CGAL Manual has copious information you can use to get you started. Here you'll find information for building/installing CGAL itself.
If you already have CGAL built/installed on your system, there are some examples to show how to use it in your own CMake project. Check out their Github wiki, or for even more info, Sections 14 and 15 of their Installation Manual.
You mention python bindings, so if your looking to use something like SWIG, I suggest taking a look here.

Is there an RFC or equivalent specification for GNU CLI utility help page (--help) format?

I'm writing some *nix CLI utilities and I'd like to standardize my "--help" output for the various scripts, but I'm not sure what standards I should conform to.
I have only found this gnu.org standards reference but it doesn't provide any information on best practices / preferred format. Is there such a thing?
Is there any official spec or at least some pseudo-standards documentation I should try to adhere to?
I know this isn't a direct programming question, so let me know if there's another StackExchange it's better suited for.
Thanks!
Actually, not RFC but still a pretty good example of the conventional help output fromat could be found on docopt.org Even if you aren't going to use that DSL to implement your CLI interface, you really should read its documentation to get general ideas of 'standard' help.
Also you can find some useful information on Wikipedia and on opengroup.org

Website in ruby using Sinatra/Padrino

i'm in engineering school and i'm very new in website development (not in my only did C language and algorithm) and i'd like to make one beautiful.
By searching, i read that using Padrino/Sinatra could be nice. I installed it, but i didn't find a tutorial which regroup all.
I'm so lost cause i find too much information but no good examples. In guides, i can't find anything on : how to design websites, how to make a menu...I think i really need examples or templates to start (a code to read).
Thanks
You can start from here: http://www.padrinorb.com/guides/blog-tutorial
It cover most of important concept of padrino and sinatra.
The best way I suggest is to look a bit into opensource websites, for example ours: https://github.com/padrino/padrino-web
On github there are thousands of websites built with padrino or sinatra, so you can find more less/higher complicated.
Here you can find a bigger list:
https://github.com/padrino/padrino-framework/wiki/Projects-using-Padrino

How to go from uml to app in zope (plone)

I have watched this keynote that talk about develop an app based on an UML model, but I can't find any tutorial or docs about it.
Do you know any tutorial or documentation to help me?
thanks
Have a look at ArchGenXML.
ArchGenXML is a code generator. It builds on architecture-centric, model-based and test-driven development. Generates Python code from UML-Models (XMI-Format). It's optimized for the generation of code based on the Archetypes framework.
Documentation about using it with Plone (Zope) can be found here.
As Aussie says, ArchGenXML is the way to go - I use it a lot. But use Paster and Zopeskel too. Create an "egg" skeleton as documented in the link (use the "archetype" template), then create your model (A .zargo file) in the main code directory (ie, the directory containing config.py).
This way ArchgenXML (AGX) will create everything as appropriate for an egg.
UML (Unified Modeling Languge) - is a modeling language.
Is used to specify, visualize, modify, construct and document the artifacts of an object-oriented software intensive system under development.
Refer to here.
[http://en.wikipedia.org/wiki/Unified_Modeling_Language][1]
If you searched using "UML" you'll find a bunch of result that will help you.
As soon as you will understand the concept of UML and know how to create UML diagrams then there's no more problem creating your app based on your model.
Very best,

Does anyone know where decent documentation describing the Lucene index format IN DETAIL on the web is?

I am mainly curious as to the inner workings of the engine itself. I couldnt find anything about the index format itself (IE in detail as though you were going to build your own compatible implementation) and how it works. I have poked through the code, but its a little large to swallow for what must be described somewhere since there are so many compatible ports to other languages around. Can anyone provide a decent link?
Have you seen this: http://lucene.apache.org/java/2_4_0/fileformats.html? It's the most detailed I've found.
Although Lucene in Action does stop short of the detail in that link, I found it a useful companion to keep a handle on the big picture concepts while understanding the nitty gritty.

Resources