Giter Site home page Giter Site logo

Comments (3)

jdickey avatar jdickey commented on June 19, 2024

One big win here should be an ability to use in-memory adapters for non-integration/"feature" test code, essentially eliminating the largest single drag on test performance.

This does require the replacement of our current Sequel::Model-based Thing model with the various concepts implemented by Lotus::Model (or any Data Mapper pattern implementation): an Entity, Repository, Data Mapper, and possible Query (replacing the existing Thing.for_index pseudo-scope query).

Although this is a significant expansion in scope from that described in the original README, the benefit of developing this highly-desirable capability in the context of a project with a single, simple data model seems to outweigh the natural (and principled) reticence regarding such an expansion.

Release 0.9.1 of the app was tagged early on 31 December 2015, at which time the schedule for tagging a 1.0 release was deferred until 8 January 2016 (from 1 January). I propose that that date (8 January) serve as a deadline for this feature; if it can be included as part of a 1.0 release, well and good; otherwise, it will be deferred. Therefore, the issue will not immediately be assigned to a milestone more specific than The Glorious Future.

from model_form_demo.

jdickey avatar jdickey commented on June 19, 2024

It should also be noted that using Lotus::Model does not imply any further commitment to the rest of the Lotus framework; Lotus::Model has been demonstrated in use with Rails and other frameworks besides Lotus (e.g., Padrino). We would brand those who argue for the presence of a "slippery slope" in that regard as optimists.

from model_form_demo.

jdickey avatar jdickey commented on June 19, 2024

Lotus is now Hanami, and Lotus::Model is now Hanami::Model. One of the major contributors recently commented:

… we are in the cycle of improving model so please stay tuned.

Pending the dust re-settling on Hanami::Model, this issue is remaining as it is: consigned to The Glorious Future™, without an assigned developer or deadline.

from model_form_demo.

Related Issues (7)

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.