Entity tables or Map tables for "book" module
|
Umka
Joined: 2008-06-16
Posts: 12 |
Posted: Mon, 2008-10-06 14:42
|
|
Greetings! I'm beginning to create a custom module with the "book" functionality. It would be a list of articles grouped in "books" and then in "chapters". Each article is going to be text formatted with bbcode and "book" and "chapter" would only be there properties, so I could sort them the way book looks like (If I put all articles in one book and one chapter - it could be a simple dictionary). While all articles are not associated with particular image or album in galley (at least most of them) I decided to make a module because I want to have one seamless site and use one login/pass for all operations. Actually this (book) is the only functionality I need besides image galley. So I managed to create tutorial module, made some views and need to move on, but stuck with table creation. Articles looks pretty much as an entity, so Entity table might be a right choice, but I'm confused with few things: What would be the difference if I use Map tables? Are they just self sufficient tables with no relation to anything? What is <schema-major> and <schema-minor>? Thanks in advance. |
|
| Login or register to post comments |

Posts: 12
I'm sorry, there must be a glitch somewhere, I can't see my post in forum, but in "my topics" I'v got 5 of them. Could moderators remove other copies please? Hope only I can't see them.
Posts: 1837
I've just deleted them... how did you managed to post 5 times? It seems to be happening a lot recently, so if you can explain what happened I can maybe investigate and prevent it.
Posts: 12
When I done writing and press "Post comment" button - it opend a blank page. When I went to the forum page - there ware no my topic. I thought there was timeout of some kind, or browser glitch. Done it several times in several ways, even in different browsers. Then I went to "My topics" and find out that all 5 posts ware successful, but I could not see them in forum. I went to this topic through "My topics" page and wrote comments.
P.S. Adding comments works fine BTW.
P.P.S. Any help on the subject?
Posts: 291
I can help.
serbanc - www.e-poze.ro