Re: New content type
David Metzler <[email protected]> Thu, 5 Feb 2015 18:50:45 -0800
| Newsgroups | gmane.comp.php.drupal.devel |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail-FAAEA022-B502-456A-A1A7-1695AC2A17F5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable As a database developer (oracle, Postgres, MySQL, mssql), I can say that the= re are some distinct advantages to the entity value approach used by drupal.= I would not discard it out of hand just because you believe it will take t= oo many tables. For example, it makes queries across content types (e.g. ca= landars of multiple content types that have different numbers of fields in t= hem) much more performative. =20 Shameless plug: If you're a database developer and handy with SQL and are pl= anning on building your own custom tables/entities then you might consider u= sing http://drupal.org/project/forena Dave Sent from my iPad > On Feb 5, 2015, at 1:39 AM, Nicolas <[email protected]> wrote: >=20 >=20 > 2015-02-05 10:37 GMT+01:00 Muzaffer Tolga Ozses <[email protected]>: >> If you don't want fields in your content type, feel free to leave related= parts out :) About entity, I don't know what you mean with that. Nodes are a= lso entities. >=20 > I know node are entities. I search for an article explaining how to create= a new content type (available from node/add/my-content-type), using entitie= s, without field api.=20 >=20 >=20 --Apple-Mail-FAAEA022-B502-456A-A1A7-1695AC2A17F5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto"><div>As a database developer (oracle, Postg= res, MySQL, mssql), I can say that there are some distinct advantages to the= entity value approach used by drupal. I would not discard it out of h= and just because you believe it will take too many tables. For example= , it makes queries across content types (e.g. calandars of multiple content t= ypes that have different numbers of fields in them) much more performative. &= nbsp; </div><div><br></div><div>Shameless plug: If you're a database de= veloper and handy with SQL and are planning on building your own custom tabl= es/entities then you might consider using <a href=3D"http://drupal.org/proje= ct/forena">http://drupal.org/project/forena</a></div><div><br></div><div>Dav= e</div><div><br>Sent from my iPad</div><div><br>On Feb 5, 2015, at 1:39 AM, N= icolas <<a href=3D"mailto:[email protected]">[email protected]</a>> w= rote:<br><br></div><blockquote type=3D"cite"><div><div dir=3D"ltr"><div clas= s=3D"gmail_extra"><br><div class=3D"gmail_quote">2015-02-05 10:37 GMT+01:00 M= uzaffer Tolga Ozses <span dir=3D"ltr"><<a href=3D"mailto:[email protected]"= target=3D"_blank">[email protected]</a>></span>:<br><blockquote class=3D"g= mail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le= ft:1ex">If you don't want fields in your content type, feel free to leave re= lated parts out :) About entity, I don't know what you mean with that. Nodes= are also entities.</blockquote><div><br></div><div>I know node are entities= . I search for an article explaining how to create a new content type (avail= able from node/add/my-content-type), using entities, without field api. = ;</div></div><br><br></div></div> </div></blockquote></body></html>= --Apple-Mail-FAAEA022-B502-456A-A1A7-1695AC2A17F5--