Turn mortar app-stub into simple UI template

RESOLVED FIXED

Status

Marketplace
Developer Pages
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: wenzel, Assigned: jlongster)

Tracking

Points:
---

Details

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

(Reporter)

Description

5 years ago
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.
(Assignee)

Comment 1

5 years ago
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.
(Assignee)

Updated

5 years ago
Blocks: 848823
(Assignee)

Comment 2

5 years ago
Closing this since the work has mainly been done, and we can talk about future tweaks in future bugs.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Reporter)

Comment 3

5 years ago
(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.