henryvw / stoic_penknife Goto Github PK
View Code? Open in Web Editor NEWStoic Penknife - A Rails web application to practice ancient Greek and Roman Stoic philosophical technologies of the soul
Home Page: http://www.stoicpenknife.com/
Stoic Penknife - A Rails web application to practice ancient Greek and Roman Stoic philosophical technologies of the soul
Home Page: http://www.stoicpenknife.com/
Remove e_
from names
Model re-naming is not easy in rails, symbols and stuff, might break in unexpected places
Research renaming Models
Even though I won't write any more Controller Specs and will write Feature / Integration Specs, I want just one Controller Spec for Exercises.
(It's still useful to have some knowledge of Controller Specs for legacy applications)
Create "action objects" also called "service objects"... if the save
method gets really complicated.
Google / research "form objects", "action objects", "service objects", "repository pattern"
Create folder structure:
models/forms/
models/views/
models/actions/
or models/services/
Create classes that basically manage the forms, put all the logic there instead of in the views. These also have the advantage of being able to write unit tests.
The app doesn't really need this stuff right now, but where can I use it to practice these patterns?
accepts_nested_attributes
- that would be a place to refactor into a form objectA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.