Comments (3)
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.
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.
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)
- Bootstrap CSS and JS not actually *active*.
- Page layout (both for landing page and New Thing) use incorrect CSS styling HOT 2
- Error-field styling not visible HOT 1
- Properly style new-thing entry form page HOT 1
- Flash messages still aren't displayed in index view after successful add. HOT 1
- Reek, :Internals modules, and decorators. (Oh, my!)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from model_form_demo.