Coder Social home page Coder Social logo

Comments (5)

nilslice avatar nilslice commented on April 28, 2024

Thanks for writing this out, @joeblew99 - I agree there should be more examples of code and process as part of the project. I wonder if it makes more sense to provide these in documentation though rather than inside the repository?

I plan on releasing a full site & documentation pages for Ponzu once we hit a 1.0 (hopefully by end of March). This site would have all of the project details, a better Quickstart example, and other examples of projects and how-to's which I think would be a great place for the kind of thing you wrote. It would probably mirror some new repo like github.com/ponzu-cms/docs or github.com/ponzu-cms/examples (or both) so anyone could contribute these ideas.

Do you think that there is significant benefit in putting these kinds of files directly into the project source, versus on an external documentation site?

P.S. I made some minor edits to the script you shared, so in case someone were to see this via Google search or something it was all correct.

from ponzu.

joeblew99 avatar joeblew99 commented on April 28, 2024

I would put the setup scripts in the same repo for core examples that show of step by step the techniques.
There is nothing preventing others from making examples too in other repos.
I found it very easy.
I was tempted to make it a proper DSL like goa a bit, but just found it fine for now to make a .sh script.
You could also make it a golang script too.

Yeah i realised later i had a few boo boohs :)

from ponzu.

nilslice avatar nilslice commented on April 28, 2024

@joeblew99 - thanks for your patience on this issue.. finally launching my project tonight so the dust has started to settle :)

Check out the latest master branch.. Do you want to go ahead and put your PR together for the examples directory? Within the examples directory, there should be a directory for each "example", but examples shouldn't be full Ponzu projects.. just a few files with a README.md explaining what the example is demonstrating. I will add an example of implementing the api.Externalable interface (which I am planning to rename), and expect that with more major community contributions, an example is part of their PR.

I also added a README.md to the root examples directory so people are aware of what to expect from them... also, a LICENSE file to include the same BSD-3 license so example code can be used as freely as Ponzu core.

Thanks!

from ponzu.

nilslice avatar nilslice commented on April 28, 2024

/cc @kkeuning - if you get a moment, would you mind adding an example for api.Updateable like the one I included for api.Externalable into the new examples directory? See the conversation in this thread for some detail.

https://github.com/ponzu-cms/ponzu/tree/master/examples

from ponzu.

nilslice avatar nilslice commented on April 28, 2024

~ #97 adds this

from ponzu.

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.