Git Product home page Git Product logo

Comments (5)

jlongster avatar jlongster commented on May 25, 2024

volo looks very cool. I bet we'll end up with a very simple command to setup a new project (even one of those curl http://blah/ | sh commands, those are awesome).

I favor that instead of actually forking mortar, because this really should strictly be a template that's just copied.

from mortar.

jrburke avatar jrburke commented on May 25, 2024

The curl approach is great if the target is non-Windows platforms. I'm making an effort for volo to work on windows boxes without needing to do cygwin stuff. While there is a node dependency, it is nice to have it installed for having a way to spin up a simple server.

I use it in this app template that uses twitter bootstrap and appcache:

https://github.com/volojs/create-responsive-template

it is really nice when integrating browserid, I have a fork of the project where I am playing around with that here:

https://github.com/volojs/create-responsive-template/tree/browserid

and the single file server is here:

https://github.com/volojs/create-responsive-template/blob/browserid/tools/server.js

It is just meant as a dev server, to serve the UI and implement some simple API endpoints for the browserid integration, with the hope that the developer would use something else for their production site. This would just get them started on the front end with a workable browserid approach in dev.

Anyway, some of this is drifting out of the scope of this ticket, so I'll stop now. I'm not sure what the goal of the project is, just providing some feedback based on the choices I took with the above mentioned template.

from mortar.

fwenzel avatar fwenzel commented on May 25, 2024

James (B): Thanks for the detailed information! Looks like the use case for mortar partially matches what you're doing there. Here is some more information about this project: https://wiki.mozilla.org/Apps/Mortar

Perhaps it makes sense to collaborate on some of this?

from mortar.

jrburke avatar jrburke commented on May 25, 2024

Sure, I'm happy to help. For the 'bricks' part, I think this just gets into being able to list out what front end libraries can be used for each piece. Or having a few different templates to choose from. For instance, I'm assisting the gladiusjs mozilla folks that are working on a game template. Their needs are a bit more specialized as far as suggested libraries for things.

volo can install JS dependencies from github via volo add, so that may be useful. I expect something like that may be used for the libraries/bricks that can be used for the game template. The tricky part usually with this sort of thing is making the opinionated choices on what libraries to use.

volo create allows a project template to have a volofile with an 'onCreate' command, which has been useful to allow the project creation process to ask questions on what the user wants in to include or how to configure the template.

I'm also going to look at grunt as a command line tool option. I may just try to tie in the volo commands to be runnable as grunt commands. My main desire is to see github used as a project template repo and also as a repo for front end library code (or a way to store a pointer to where to get the library) vs. trying to wedge front end concerns into npm.

grunt is focused on having a declarative, top level JSON-like build file to avoid the async programming normally needed when running in node (delegating that to the tasks that implement the declarative commands), but I'm also trying to balance that with just having an easy way to do some quick imperative work -- so something that allows more per-project flexibility at the cost of doing imperative work.

from mortar.

fwenzel avatar fwenzel commented on May 25, 2024

Looks like we're done investigating, thanks!

from mortar.

Related Issues (20)

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.