zombor / auto-modeler-demo Goto Github PK
View Code? Open in Web Editor NEWA demo app for kohana featuring AutoModeler, Kostache and phpspec.
A demo app for kohana featuring AutoModeler, Kostache and phpspec.
What this example is really lacking is some relational examples. Like displaying the groups the user is in. And adding a group for to a user.
Also it would be great to have some examples of what should be in the Model and what in the gateway. Maybe connecting a first name, middle name and last name.
Could you add AutoModeler_ORM to your demo for when you put it on your domain.
It might be useful for those who just started using Kohana.
This is just an idea but maybe it's a good way to switch the factory and the actual context around. This is just for naming and order sense. It makes things feel right or better IMO.
So we call the factory: Context_User_Add
and call it by new Context_User_Add
And we call the context Context_User_Add_Case
and we call it in Context_User_Add
Controller -> Context_User_Add -> Context_User_Add_Case
Pre's
No _Factory
in the naming
The case is a directory lower and the requester is 1 directory up. (easier browsing)
I know it's nothing to do with your project, but it might be worth noting the following:
Using your instructions: https://github.com/zombor/Auto-Modeler-Demo/#specs
I run into this issue, but their work around works: composer/composer#690 (comment)
https://github.com/zombor/Auto-Modeler-Demo/blob/master/composer.json#L5 "cordoval" seems to be out of date.
The issue is a breaking change as described here:
https://groups.google.com/forum/#!msg/composer-dev/fWIs3KocwoA/nU3aLko9LhQJ
There must be a newer version to point composer to?
Should this not read $this->_data = $data ?
Models used by repositories must have a defined __construct function, otherwise when query builder casts result as_object, you will get this error:
Class [...] does not have a constructor hence you cannot use ctor_param
A 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.