Closed Bug 845407 Opened 11 years ago Closed 11 years ago

Turn mortar app-stub into simple UI template

Categories

(Marketplace Graveyard :: Developer Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wenzel, Assigned: jlong)

References

Details

(Whiteboard: u=dev c=mortar p=2 s=2013.3)

mortar app-stub should be reduced in complexity to only contain a project structure, a manifest, and some nice comments here and there to get people on the road.

Coding guideline: <https://docs.google.com/document/d/1QMlP1VAEv4qi8lELdJsGqs6N4--qE2eefR_Er5vX2sE/edit>

This will involve removing require.js for now, otherwise app-stub probably doesn't need a lot more changes.
This has been done on the simplify branch: https://github.com/mozilla/mortar-app-stub/tree/simplify

To be determined: since this is basically a "no UI" UI template, what exactly should be included here? This is an app template so I think we should include a few basic things for writing web apps. The receipt verifier library is a good one. I also think we should still include zepto because that's the whole point of these templates -- to set up the platform so the developer can just start coding.

I also included a little bit of javascript to hook up an installation button, which I'm sure is helpful if anything just to document how that works.

In the end the template is so simple now that it's incredibly obvious how you would remove stuff you don't need, and if we remove much more there's really not much point in having the template.
Blocks: 848823
Closing this since the work has mainly been done, and we can talk about future tweaks in future bugs.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
(In reply to James Long (:jlongster) from comment #1)
> In the end the template is so simple now that it's incredibly obvious how
> you would remove stuff you don't need, and if we remove much more there's
> really not much point in having the template.

I concur; it doesn't get much simpler than that. If people disagree with the stuff we ship in here AND don't want to rip it out, then they can't be helped and will just have to start from scratch, which they are free to do.

For all others, these few components that can get you off the ground quickly seem like the right deliverables. Good work.
You need to log in before you can comment on or make changes to this bug.