[support] Databases

Tony tony at tony-mac.com
Tue Jan 14 00:09:45 UTC 2014


I could probably do it a different way as far as the module is concerned
but I just wanted to practice basic DB ops.
Another topic of discussion would be "when do I need to write code to
access the DB"? Not having had too much experience in that area I may be
posing a superfluous question.

Tony


On Mon, Jan 13, 2014 at 4:06 PM, Tony <tony at tony-mac.com> wrote:

> Exactly the first scenario.I have that book but it doesn't really go into
> the detail I need.  As you say it is a good start. But I need a good
> finish.
>
> I have created a module with a form which should CRUD (can one say that?)
> to a table I have defined in the install file. If I could just find some
> sample code... How to insert (I know db_insert etc but what about the
> return codes and messages etc etc) .
>
> Thanks
>
>
> On Jan 13, 2014 3:39 PM, "Metzler, David" <metzlerd at evergreen.edu> wrote:
>
>>  Not sure what you mean here.  Are you talking about writing code using
>> the drupal database API db_query, etc.?   If so Drupal Pro Development is a
>> good start.  Perhaps you’re talking about using working with external
>> non-drupal databases?  Or something else?
>>
>>
>> Dave
>>
>>
>>
>> *From:* support-bounces at drupal.org [mailto:support-bounces at drupal.org] *On
>> Behalf Of *Tony
>> *Sent:* Monday, January 13, 2014 3:37 PM
>> *To:* support at drupal.org
>> *Subject:* [support] Databases
>>
>>
>>
>> Does anyone know of a good book covering how to work with databases and
>> drupal?
>>
>> Thanks
>>
>> Tony
>>
>>
>> --
>>
>> *Anthony Stefan Maciejowski*
>>
>> *http://about.me/TonyMac <http://www.about.me/TonyMac>*
>>
>>
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>>


-- 

*Anthony Stefan Maciejowski*

*http://about.me/TonyMac <http://www.about.me/TonyMac>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140113/ed9b3c9c/attachment.html 


More information about the support mailing list