Giter Club home page Giter Club logo

Comments (7)

jwoertink avatar jwoertink commented on May 18, 2024 7

It's actually pretty interesting that there's no built in model. This doesn't have to be another MVC. Having it handle routes, controllers, views, middleware, etc.. is quite a bit already. Being able to just plug in your own way of handling models and other business logic type stuff would be nice. Maybe there could be a separate shard for a "amber" type way of handling this stuff, but by default not in the amber shard.

from amber.

elorest avatar elorest commented on May 18, 2024 5

Perhaps we should remain ORM/REPO agnostic and add generators for different libraries?

from amber.

eliasjpr avatar eliasjpr commented on May 18, 2024 2

@oz We are considering to support Crecto for a Repo pattern type of models and Granite/Jennifer for Active Record Pattern with generators we still thinking about this one

from amber.

eliasjpr avatar eliasjpr commented on May 18, 2024

At the moment, I think this is the best we can do until we discuss technical details.

from amber.

oz avatar oz commented on May 18, 2024

That being said, seeing how the router is inspired from Phoenix, I though I'd find Crecto in there too. As long as it is easy to swap parts, I think that an "all-in-one" opinionated model makes sense (even if I had a different opinion on the ORM 😉).

from amber.

drujensen avatar drujensen commented on May 18, 2024

Here is the example app created by @fridgerator for using crecto with amber:
https://github.com/fridgerator/amber_crecto_example

from amber.

drujensen avatar drujensen commented on May 18, 2024

I am going to close this since we support granite and crecto. We can open a new ticket if someone wants to add jennifer.

from amber.

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.