-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New project at Respect: samples #3
Comments
@hussani I say cast novice concerns aside and reach for the skies. Don't worry too much about explaining just do something awesome. There are no limits, uhm wait aside from using vanilla PHP and only Respect modules of course =) |
We could ship a demo of Respect\Relational working with sqlite! What do you guys think? |
Here's a db design we can use covering the usual suspects, and then some.
What do you say @Respect ?
|
I guess polymorphic association should be easy following the architecture of the new collection types: https://gist.github.com/alganet/4957800 A mockup of the API (following http://guides.rubyonrails.org/association_basics.html#polymorphic-associations): use Respect\Data\Collections\Polymorphic;
$mapper->pictures = Polymorphic::on('imageable_id')->pictures;
$mapper->products($mapper->pictures)->fetch(); =D |
@alganet please give ops.
Need to customise labels and create "Easy Pick" issue to promote this project and encourage more contributions. Probably other restrictions would surface posing difficulty as well...
Brilliant idea!!!
@Respect have you all seen the new project? Tell us what you...
The text was updated successfully, but these errors were encountered: