Git Product home page Git Product logo

Comments (5)

Tarmil avatar Tarmil commented on May 11, 2024 1

I'd be curious to see your reworked HelloWorld! I have started one myself here: https://github.com/Tarmil/bolero.template.structured

from bolero.

BentTranberg avatar BentTranberg commented on May 11, 2024 1

I've done work on this in my business project, but I don't know yet if it's ok or needs fixing. Will study the links above. My initial work can be seen in the repro uploaded for this issue: #55

I don't think I split the html in that early revision, but it's as easy as snipping a <template>...</template> into a separate html file, and load it the same way you load main.html.

I think it will mean a lot for Bolero's popularity that template(s) contains demo code illustrating the basic things you need to get started with development, as well as some structure that can guide the developer in expanding the application. A list of things I can think of at the moment :

  • How to implement and organize submodels.
  • How to push data/messages from the server to the client.
  • How to handle long-running queries from the client, with replies from the server.
  • How to transfer large data between client and server. E.g. a file being downloaded.
  • A more advanced menu than the one currently used. Preferably hierarchical in some way.

I guess some of this is too complex for the template, and should rather be available elsewhere, e.g. in the docs.

from bolero.

kdblocher avatar kdblocher commented on May 11, 2024 1

@Tarmil I used your github for the template for a more structured approach successfully, and was even able to split the nav into the actual page header without issue. Perhaps you could offer another template with this approach with dotnet new for those of us that want to use Bolero with this structured approach by default? Or adopt the structured approach over the simplified one?

from bolero.

deyanp avatar deyanp commented on May 11, 2024

Ignore that, figured it out, and this helped me:

https://github.com/nojaf/elmish-component

I have reworked the HelloWorld sample with components, but not sure if it is fully correct, and if you are interested in such ..

from bolero.

deyanp avatar deyanp commented on May 11, 2024

https://github.com/deyanp/FSBoleroHelloWorldComponents ...

from bolero.

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.