<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(68,68,68)">The best book you can get is Pro Drupal Development. Believe me, it will become your lifeline and covers everything. I got it off Amazon for dirt cheap. It&#39;s a big book but it will help you. <br>

</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(68,68,68)">Good luck.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small;color:rgb(68,68,68)">

Chris<br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span style="font-family:arial,helvetica,sans-serif"><b><font><br><br>Chr</font></b></span><span style="font-family:arial,helvetica,sans-serif"><font><b>is McAndrew</b></font></span><font><b><br>

Interactive Designer &amp; Developer</b></font><br><b style="font-size:x-small">email</b><font size="1">: </font><span style="color:rgb(0,0,0)"><a href="mailto:chris@csmcreative.com" style="font-size:x-small" target="_blank"><span></span></a><a href="mailto:chris@csmcreative.com?subject=Question+via+email+contact+link" style="font-size:x-small" target="_blank">chris@csmcreative.com</a><br>

<b style="font-size:x-small">Web</b><font size="1">: </font><a href="http://csmcreative.com" style="font-size:x-small" target="_blank">http://csmcreative.com</a><br><b style="font-size:x-small">Twitter</b><font size="1">: </font><a href="https://twitter.com/chris_mcandrew" style="font-size:x-small" target="_blank">@chris_mcandrew</a><br>

<span style="font-family:arial,helvetica,sans-serif"><b style="font-size:x-small">LinkedIn</b><font size="1">: </font><a href="http://linkedin.com/in/chrismcandrew" style="font-size:x-small" target="_blank">chrismcandrew</a></span></span><span style="color:rgb(0,0,0)"><span style="font-family:arial,helvetica,sans-serif"><a href="http://linkedin.com/in/chrismcandrew" style="font-size:x-small" target="_blank"></a></span></span></div>

</div>
<br><br><div class="gmail_quote">On Mon, Jan 13, 2014 at 7:06 PM,  <span dir="ltr">&lt;<a href="mailto:support-request@drupal.org" target="_blank">support-request@drupal.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Send support mailing list submissions to<br>
        <a href="mailto:support@drupal.org">support@drupal.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.drupal.org/mailman/listinfo/support" target="_blank">http://lists.drupal.org/mailman/listinfo/support</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:support-request@drupal.org">support-request@drupal.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:support-owner@drupal.org">support-owner@drupal.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of support digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Best ways to intigrade my blog post on drupal to appear<br>
      on my home page. (Richard Damon)<br>
   2. Re: Best ways to intigrade my blog post on drupal to appear<br>
      on my home page. (Jamie Holly)<br>
   3. Databases (Tony)<br>
   4. Re: Databases (Metzler, David)<br>
   5. Re: Databases (Warren Vail)<br>
   6. Re: Databases (Tony)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 13 Jan 2014 07:59:03 -0500<br>
From: Richard Damon &lt;Richard@Damon-Family.org&gt;<br>
Subject: Re: [support] Best ways to intigrade my blog post on drupal<br>
        to appear on my home page.<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Message-ID: &lt;52D3E317.501@Damon-Family.org&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On 1/13/14, 6:41 AM, Jonathan Candler wrote:<br>
&gt; So you guys are telling me, that I cannot include include function within my PHP scripts to point D.XML file over to my homepage?<br>
&gt;<br>
&gt; Jonnyboy! Iphones rock!<br>
&gt;<br>
&gt;<br>
It isn&#39;t that you can&#39;t, but that it may be easier to let Drupal do the<br>
functioning. I suppose another option would be to add an iframe to you<br>
home page making a reference to a Drupal page with the content you want<br>
(like a special page removing the sidebars/headers/footers/etc that you<br>
don&#39;t want in the iframe).<br>
<br>
--<br>
Richard Damon<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 13 Jan 2014 09:57:01 -0500<br>
From: Jamie Holly &lt;<a href="mailto:hovercrafter@earthlink.net">hovercrafter@earthlink.net</a>&gt;<br>
Subject: Re: [support] Best ways to intigrade my blog post on drupal<br>
        to appear on my home page.<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Message-ID: &lt;<a href="mailto:52D3FEBD.5000903@earthlink.net">52D3FEBD.5000903@earthlink.net</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
You could do as I said earlier, write some custom code to parse your<br>
blog&#39;s feed.<br>
<br>
Another option would be to create a block in views, bootstrap Drupal<br>
from your home page and render that block. This could lead to some<br>
screwy problems though, especially with URLs (setting $base_url in<br>
settings might fix that). That can also lead to performance issues with<br>
caching and that.<br>
<br>
A simpler option would be to create a page in view of your latest posts<br>
and the information you want to appear in the block. Then use jQuery to<br>
load that on your main page, selecting out just the part of the DOM tree<br>
that has the actual list and injecting that into your site.<br>
<br>
A better option would be a custom module that generates an html page of<br>
your latest posts and saves it to the files system. Then you could<br>
include that as an iframe on your main page. That would by far be best<br>
performance wise and a lot more stable.  It&#39;s also not that hard of a<br>
module to write (a function to generate the HTML widget/list called on<br>
hook_node_save()).<br>
<br>
Jamie Holly<br>
<a href="http://hollyit.net" target="_blank">http://hollyit.net</a><br>
<br>
On 1/13/2014 6:41 AM, Jonathan Candler wrote:<br>
&gt; So you guys are telling me, that I cannot include include function within my PHP scripts to point D.XML file over to my homepage?<br>
&gt;<br>
&gt; Jonnyboy! Iphones rock!<br>
&gt;<br>
&gt; &gt; On 12 Jan 2014, at 1:21 pm, Richard Damon &lt;Richard@Damon-Family.org&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; On 1/12/14, 2:00 PM, Jamie Holly wrote:<br>
&gt; &gt;&gt; I agree 100%. You could parse the feed from your blog and display it on<br>
&gt; &gt;&gt; your home page, but that would probably take about as long as converting<br>
&gt; &gt;&gt; your site to totally be managed by Drupal.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Jamie Holly<br>
&gt; &gt;&gt; <a href="http://hollyit.net" target="_blank">http://hollyit.net</a><br>
&gt; &gt; You don&#39;t even need to convert all of the rest of your site to Drupal.<br>
&gt; &gt; Drupal works fine with pages generated by other tools (as long as they<br>
&gt; &gt; don&#39;t need to use index.php) or even static pages.<br>
&gt; &gt;<br>
&gt; &gt; You would need to convert the home page, but other pages might not need<br>
&gt; &gt; to be changed.<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Richard Damon<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 13 Jan 2014 15:36:32 -0800<br>
From: Tony &lt;<a href="mailto:tony@tony-mac.com">tony@tony-mac.com</a>&gt;<br>
Subject: [support] Databases<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Message-ID:<br>
        &lt;CADEDVdrRcw9_Pq4mtXUD4N=<a href="mailto:oHUU_3PaX09skbuHbBSwunspe8Q@mail.gmail.com">oHUU_3PaX09skbuHbBSwunspe8Q@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Does anyone know of a good book covering how to work with databases and<br>
drupal?<br>
<br>
Thanks<br>
Tony<br>
<br>
--<br>
<br>
*Anthony Stefan Maciejowski*<br>
<br>
*<a href="http://about.me/TonyMac" target="_blank">http://about.me/TonyMac</a> &lt;<a href="http://www.about.me/TonyMac" target="_blank">http://www.about.me/TonyMac</a>&gt;*<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.drupal.org/pipermail/support/attachments/20140113/47014228/attachment-0001.html" target="_blank">http://lists.drupal.org/pipermail/support/attachments/20140113/47014228/attachment-0001.html</a><br>


<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 13 Jan 2014 23:38:55 +0000<br>
From: &quot;Metzler, David&quot; &lt;<a href="mailto:metzlerd@evergreen.edu">metzlerd@evergreen.edu</a>&gt;<br>
Subject: Re: [support] Databases<br>
To: &quot;&#39;<a href="mailto:support@drupal.org">support@drupal.org</a>&#39;&quot; &lt;<a href="mailto:support@drupal.org">support@drupal.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:CB99AEDD84838B4D919DE8C443FC5C55376ECB96@palm.evergreen.edu">CB99AEDD84838B4D919DE8C443FC5C55376ECB96@palm.evergreen.edu</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
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?<br>


<br>
Dave<br>
<br>
From: <a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a> [mailto:<a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a>] On Behalf Of Tony<br>
Sent: Monday, January 13, 2014 3:37 PM<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Subject: [support] Databases<br>
<br>
Does anyone know of a good book covering how to work with databases and drupal?<br>
Thanks<br>
Tony<br>
<br>
--<br>
<br>
Anthony Stefan Maciejowski<br>
<br>
<a href="http://about.me/TonyMac" target="_blank">http://about.me/TonyMac</a>&lt;<a href="http://www.about.me/TonyMac" target="_blank">http://www.about.me/TonyMac</a>&gt;<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.drupal.org/pipermail/support/attachments/20140113/5c94b14c/attachment-0001.html" target="_blank">http://lists.drupal.org/pipermail/support/attachments/20140113/5c94b14c/attachment-0001.html</a><br>


<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 13 Jan 2014 15:52:53 -0800<br>
From: Warren Vail &lt;<a href="mailto:warren@vailtech.net">warren@vailtech.net</a>&gt;<br>
Subject: Re: [support] Databases<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Message-ID:<br>
        &lt;CAMF+QmOuLiE9=<a href="mailto:CiZ3uFNQrRX5E%2B47tZGBhOMf0CfLz0P4SRFvg@mail.gmail.com">CiZ3uFNQrRX5E+47tZGBhOMf0CfLz0P4SRFvg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;windows-1252&quot;<br>
<br>
Drupal 7 Module Development has a couple of good chapters on developing<br>
modules that create and use entities, and there is another book out there<br>
on Drupal 7 Entities that I have yet to tackle.  I would also love to see<br>
something that shows how to implement &quot;No SQL&quot; high demand Databases like<br>
Mongo or Cassandra.  While I know I&#39;m missing lot&#39;s on these newer flavors<br>
of database systems, I can&#39;t help but wonder if Drupal will ever run on a<br>
&quot;No SQL&quot; platform, or if that is where we are all headed. First glance<br>
suggests that perhaps Entity Classes will provide the keys to transitioning.<br>
<br>
<br>
On Mon, Jan 13, 2014 at 3:38 PM, Metzler, David &lt;<a href="mailto:metzlerd@evergreen.edu">metzlerd@evergreen.edu</a>&gt;wrote:<br>
<br>
&gt;  Not sure what you mean here.  Are you talking about writing code using<br>
&gt; the drupal database API db_query, etc.?   If so Drupal Pro Development is a<br>
&gt; good start.  Perhaps you?re talking about using working with external<br>
&gt; non-drupal databases?  Or something else?<br>
&gt;<br>
&gt;<br>
&gt; Dave<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; *From:* <a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a> [mailto:<a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a>] *On<br>
&gt; Behalf Of *Tony<br>
&gt; *Sent:* Monday, January 13, 2014 3:37 PM<br>
&gt; *To:* <a href="mailto:support@drupal.org">support@drupal.org</a><br>
&gt; *Subject:* [support] Databases<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Does anyone know of a good book covering how to work with databases and<br>
&gt; drupal?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Tony<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; *Anthony Stefan Maciejowski*<br>
&gt;<br>
&gt; *<a href="http://about.me/TonyMac" target="_blank">http://about.me/TonyMac</a> &lt;<a href="http://www.about.me/TonyMac" target="_blank">http://www.about.me/TonyMac</a>&gt;*<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.drupal.org/pipermail/support/attachments/20140113/b118b220/attachment-0001.html" target="_blank">http://lists.drupal.org/pipermail/support/attachments/20140113/b118b220/attachment-0001.html</a><br>


<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Mon, 13 Jan 2014 16:06:50 -0800<br>
From: Tony &lt;<a href="mailto:tony@tony-mac.com">tony@tony-mac.com</a>&gt;<br>
Subject: Re: [support] Databases<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Message-ID:<br>
        &lt;CADEDVdojVLchfSqAHQ67qPnGgqj6SNww8OEeSY2=<a href="mailto:UjHsyfd_VQ@mail.gmail.com">UjHsyfd_VQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
Exactly the first scenario.I have that book but it doesn&#39;t really go into<br>
the detail I need.  As you say it is a good start. But I need a good<br>
finish.<br>
<br>
I have created a module with a form which should CRUD (can one say that?)<br>
to a table I have defined in the install file. If I could just find some<br>
sample code... How to insert (I know db_insert etc but what about the<br>
return codes and messages etc etc) .<br>
<br>
Thanks<br>
<br>
<br>
On Jan 13, 2014 3:39 PM, &quot;Metzler, David&quot; &lt;<a href="mailto:metzlerd@evergreen.edu">metzlerd@evergreen.edu</a>&gt; wrote:<br>
<br>
&gt;  Not sure what you mean here.  Are you talking about writing code using<br>
&gt; the drupal database API db_query, etc.?   If so Drupal Pro Development is a<br>
&gt; good start.  Perhaps you?re talking about using working with external<br>
&gt; non-drupal databases?  Or something else?<br>
&gt;<br>
&gt;<br>
&gt; Dave<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; *From:* <a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a> [mailto:<a href="mailto:support-bounces@drupal.org">support-bounces@drupal.org</a>] *On<br>
&gt; Behalf Of *Tony<br>
&gt; *Sent:* Monday, January 13, 2014 3:37 PM<br>
&gt; *To:* <a href="mailto:support@drupal.org">support@drupal.org</a><br>
&gt; *Subject:* [support] Databases<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Does anyone know of a good book covering how to work with databases and<br>
&gt; drupal?<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Tony<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;<br>
&gt; *Anthony Stefan Maciejowski*<br>
&gt;<br>
&gt; *<a href="http://about.me/TonyMac" target="_blank">http://about.me/TonyMac</a> &lt;<a href="http://www.about.me/TonyMac" target="_blank">http://www.about.me/TonyMac</a>&gt;*<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.drupal.org/pipermail/support/attachments/20140113/de76eef0/attachment.html" target="_blank">http://lists.drupal.org/pipermail/support/attachments/20140113/de76eef0/attachment.html</a><br>
<br>
------------------------------<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<br>
End of support Digest, Vol 133, Issue 24<br>
****************************************<br>
</font></span></blockquote></div><br></div></div>