<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV></DIV>
<DIV>In general, I don't split the module up until it gets to some point in size, which is just a judgment call. Then the first thing I look at is splitting the admin functions out to mymodule.admin.inc. If it keeps getting bigger, I look at what the functions are and which ones they use. If a function is not used commonly, I will split it off. I suspect my call on that is from the early days of my career when commercial virtual memory was in its early days too and we worried about "locality of reference." I know PHP is different to some extent, but I like to keep calling and called code near each other to reduce page faults. That's also why I try to keep "one time" (actually only infreqent)&nbsp;calls, such as hook_menu(), separated from the more active code in my modules.<BR>&nbsp;</DIV>
<P><FONT color=#ff007f size=4 face="bookman old style, new york, times, serif"><EM><STRONG>NancyDru</STRONG></EM></FONT></P>
<P>&nbsp;</P>
<P><FONT face="arial, helvetica, sans-serif">Injustice anywhere is a threat to justice everywhere. -- Dr. Martin L. King, Jr.</FONT></P>
<DIV><BR></DIV>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 12pt"><BR><FONT size=2 face=Tahoma>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<HR SIZE=1>
</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Iain William Wiseman</DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"></FONT><BR>Will be looking a views again tonight (day job to do!). I am looking into helping out port LinkedIn to Drupal 7 but felt I might be best just getting a simple view/database module going first. I do have on question with regard to building the code though, is there a standard approach to where to put the bits. I understand .install and .info but where how to split up the pages seems unclear to me.</DIV></DIV></div></body></html>