Code Monkey home page Code Monkey logo

auto-modeler-demo's People

Contributors

zombor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

paulschwarz

auto-modeler-demo's Issues

Adding AutoModeler_ORM

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.

Models must have a __construct function

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

Need some more complex relational examples

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.

Switch the factory class and the context around

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)

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.