Features
- prescribed file organization for sanity
- scaffolding for a smaller learning curve
- precompilation template for better performance
- application of a single file to a better experience
- generators for faster application development
- commonjs (node) style modules for js community <3 and isolated testing
- easily build semantic forms in ember and simple validators
Dependence
To install the ember-gen is required
NodeJs >= 0.8
npm
Installation
npm install -g ember-gen
Quickstart
ember new demo-app -t bootstrap
cd demo-app
ember generate -s contact title:string email:string age:number
ember build
open demo-app/index.html
# visit #/contacts
More information on:
Thanks to anyone who can test the tool, any questions or suggestions will be very welcome.
So we have a tool that will save us development time
3 Likes
Your project is in lock step with Ryan Florence’s ember-tools (https://github.com/rpflorence/ember-tools)
?
My project does everything the ember-tools does, however have some different features:
- Semantic form
- Validation of form
- Creating helpers
- Automated build, observing changes in files
- Underscore version 1.4.4
among other features exist however not yet documented. make better documentation in the coming days.
someone already tested the tool? any feedback, suggestions
For a better experience Developer Ember-Gen will have a livereload.
comming soon
Someone even use the ember-gen? are having some difficulty?
project https://github.com/alexferreira/ember-gen
bugs or suggestions https://github.com/alexferreira/ember-gen/issues
Hi @alexsferreira, The project looks great.
@nigamshirish
new features in development
- Internationalization.
- Server for use in development with livereload
- Construct compressed files to use in production
- Configuration file where the order can be set and new libraries to be loaded
these and others will be present in the new version.
if you have any suggestion is welcome.
Thanks
@alexsferreira,
I tried to install the generator by following the instructions mentioned in readme.md. but it’s not installing please find my configuration below if it can be of any help
OS: MAC OSX 10.8.3
node js 0.10.5 local install via brew
I’m not sure, if you need npm_debug.log to look into more detail. please advise if you need.
Thanks
HI @nigamshirish
I’m using Mac OSX 10.8.3 node js 0.10.4
just remove and install using the command npm install-g ember-gen and it worked correctly
which this error occurs when you try to install?
@alexsferreira, i’m getting error while installing it.
Please find the error below - this is not full log but partial specifically related to error.
npm http GET https://registry.npmjs.org/uglify-js/2.2.5
npm ERR! git clone git://github.com/alexferreira/commander.js undefined
npm ERR! git clone git://github.com/alexferreira/commander.js undefined
npm http GET https://registry.npmjs.org/findit/0.1.2
npm ERR! Error: spawn ENOENT
npm ERR! at errnoException (child_process.js:975:11)
npm ERR! at Process.ChildProcess._handle.onexit (child_process.js:766:34)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <npm-@googlegroups.com>
npm ERR! System Darwin 12.3.0
npm ERR! command "/usr/local/Cellar/node/0.10.5/bin/node" "/usr/local/bin/npm" "install" "-g" "ember-gen"
npm ERR! cwd /Users/shirish
npm ERR! node -v v0.10.5
npm ERR! npm -v 1.2.18
npm ERR! syscall spawn
npm ERR! code ENOENT
npm ERR! errno ENOENT
Hey @alexsferreira Congratz for the nice project, but why not talk with @ryanflorence to integrate efforts to the ember-tools?
Another thing I wan to ask if it is possible to update the project to use Ember.js 1.0.0-rc.6.1. o/
https://github.com/alexferreira/ember-gen/issues/14
Its a complete rip-off of ember-tools with an adorable commit history to act like its not (even the readme is taken wholesale, along with all the code).
Please address that issue @alexsferreira.