Git Product home page Git Product logo

amber-skeleton's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

amber-skeleton's Issues

Slow initial load

The initial load of the code is slow because we are currently loading from .st files. If my javascript foo was better, I'd also have some kind of waiting for installation message ... maybe even a progress display of each package as it is loaded ... but alas that is not the case at the moment.

The obvious solution is to bootstrap the the Amber Project and Cypress support from .js files and this will be done eventually.

[Discussion] Project structure

Disclaimer: the target project I have in mind is one where I need to share some code between the server and the client. Not all applications have such a requirement.

In short, I would like to separate client ressources from server ressources, specific application ressources from libraries, and my own ressources (including application/library) from vendor ressources. Plus one place for shared ressources.

I have two schemas in mind. One is more "deployment-oriented" with a cut between client and server. The other is more "app-oriented" with a cut between specific app code (client+server) and libraries, with the image in its own dir.

Anyway, I guess this structure is only for development, so I have a small preference for the second one. For deployment, I guess everything client-side could be packaged in a public directory, with packages compiled in a single js file.

client/<yourapp>      "your app, including ressources and specific packages for Amber"
client/lib              "your internal projects already packaged as libraries for deployment"
client/vendor      "external projects used client-side (amber, amber-cypress...)"

"packages for both client and server"
shared/<yourapp>
shared/lib

server/pharo      "the server image itself"
server/pharo/lib         "specific packages for Pharo (amber-server, filetree...)"
server/<yourapp>      "app packages, server-side"
server/lib              "Cypress packages shareable between multiple ST implementations"
server/vendor      "Cypress packages shareable between multiple ST implementations"

script    "bootstrap scripts"

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.