Posted by kars-t on February 10, 2011 at 6:35pm
One of the new things in drupal 7 are entities. But currently only a programmer can create one. In my opinion there should be a module that creates us entities without any programming.
Things that could be handled by the module:
- Create new simple entity type
- Are subtypes allowed?
- Is it fieldable?
- Is it translatable?
- Make it exportable
- Register a path for the entity so it displays something

Comments
Working on it
Waiting for full project approval, and then we will go from there
http://drupal.org/sandbox/fmizzell/1155832
Lets work together
Hey great! :D
I already started my own sandbox. Lets see where this takes us.
http://drupal.org/sandbox/karst/1105636
--
comm-press |
Definetely!!!
I will look at the code in your sandbox tonight, and maybe we can talk about approach, and what we would like to merge.
From the goals that you defined, my module accomplishes 3 of them (kind of):
* Create new simple entity type
* Is it fieldable?
* Register a path for the entity so it displays something
I don't give the user the option to choose whether an entity is fieldable or not, I just make them fieldable by default. Also I provide some default paths for users to go add, view, and edit entities, and entity instances. At some point I want all this to be customizable.
I also think that entity revisions should be part of the goals also.
let me know what you are thinking.
Nothing to see
I just started at last tuesday because I didn't find time before and just created some UI for it. So its nothing to see :)
So please wait a bit for me and I will take a look at your code. Than we can discuss which name is cooler ;)
--
comm-press |
Sounds Great!
Let me know when you are done looking at the code, or if you have any questions I am usually in irc during US regular work hours.
Is this similar to this
Is this similar to this module? Model Entities (http://drupal.org/project/model)
-
@foggyperspectiv | foggyperspective.com (blog)
No
No, at least according to the description. The model Entities module provides a working entity, so in theory you can grab that module, copy it , rename some things, and then you will have multiple entities. ECK will do all these without you having to copy modules, or rename anything. It is an interface for creating entities. I hope that answers your question.
Very cool. Can't wait to see
Very cool. Can't wait to see it!
-
@foggyperspectiv | foggyperspective.com (blog)
Update
Well, the project has been in the queue waiting for approval for a while now, but I finally got around to do some refactoring that the reviewers wanted to see, so hopefully it will become a full project soon. But I do think that the code is in pretty good shape for those who are interested to check it out and give some feedback. I know of a couple of people using the module already, so I am pretty confident that this is a great start.
Full Project
Entity Construction Kit (ECK) is now a full project in d.o.
http://drupal.org/project/eck
hopefully it will be useful
Enjoy!
Congratulations!
Hey great work you did! Really thank you for all of it! :D
--
comm-press |