Giter Club home page Giter Club logo

Comments (2)

wasabigeek avatar wasabigeek commented on September 23, 2024

Ooo I really like this idea. Some thoughts:

  • I do want to include room to add more generators soon e.g. migration, controller, not sure about the paths yet (any suggestions? we could do something cheeky like /rails/g/model. Although maybe keep it short and simple is best e.g. /model)
  • I'm not super keen on swapping out spaces for |, maybe we can just url encode the actual string? Could also do base64 but I think that's a bit overkill
  • would suggest the query param be ?command instead

What do you think?

from railshelp.

monarch0111 avatar monarch0111 commented on September 23, 2024

Thanks for the inputs, honestly I didn't put in much thinking into how it would look like. I added it here to have a discussion with you later. :))

  • Yes, I did think about other generators. Your idea of namespacing(rails/g/model) sounds good and extensible.
  • Using | as delimiter will add an overhead of parsing. URL encoding sounds perfect, base64 encoding will make URL unnecessarily long. Can explore tiny url API in either case to make it short & shareable?
  • Yes, command sounds great. 🙇🏻‍♂️

from railshelp.

Related Issues (10)

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.