I'm on a drupal learning curve. It occurs to me that I'd love to see a report of all the functions used in Drupal by frequency. (Then, I'd tackle the learning curve by starting with what's used most, and moving down the list!) I imagine starting with something like the api pull from the Module Builder Module (http://drupal.org/project/module_builder) and then somehow scanning the CVS for all the functions, and calculating a frequency. Seriously, would love to basically tackle this learning curve in a logical way, based on how often something appears in code, ideally in both core and contrib, combned. I recognize that little-used code functions may still be quite important, but this approach would certainly serve as a good guide. I don't have the skillset to write this report. Is there anyone for whom producing this function frequency report would be a relative cinch? Margie
XCachGrind makes such reports. Robert Douglass Senior Drupal Advisor Acquia robert@acquia.com +1 517 639 0204 (US) +49 228 4097 197 (Germany) On Jun 29, 2008, at 1:04 PM, Marjorie Roswell wrote:
I'm on a drupal learning curve.
It occurs to me that I'd love to see a report of all the functions used in Drupal by frequency. (Then, I'd tackle the learning curve by starting with what's used most, and moving down the list!)
I imagine starting with something like the api pull from the Module Builder Module (http://drupal.org/project/module_builder) and then somehow scanning the CVS for all the functions, and calculating a frequency.
Seriously, would love to basically tackle this learning curve in a logical way, based on how often something appears in code, ideally in both core and contrib, combned.
I recognize that little-used code functions may still be quite important, but this approach would certainly serve as a good guide.
I don't have the skillset to write this report. Is there anyone for whom producing this function frequency report would be a relative cinch?
Margie
Is that this? http://kcachegrind.sourceforge.net/cgi-bin/show.cgi I seriously wouldn't have a clue how to get that running. If it's easy for you, can you release this report? If not, well, 'twas a good idea, anyhow. Margie On Sun, Jun 29, 2008 at 7:09 AM, Robert Douglass <rob@robshouse.net> wrote:
XCachGrind makes such reports.
Robert Douglass
Senior Drupal Advisor Acquia robert@acquia.com +1 517 639 0204 (US) +49 228 4097 197 (Germany)
On Jun 29, 2008, at 1:04 PM, Marjorie Roswell wrote:
I'm on a drupal learning curve.
It occurs to me that I'd love to see a report of all the functions used in Drupal by frequency. (Then, I'd tackle the learning curve by starting with what's used most, and moving down the list!)
I imagine starting with something like the api pull from the Module Builder Module (http://drupal.org/project/module_builder) and then somehow scanning the CVS for all the functions, and calculating a frequency.
Seriously, would love to basically tackle this learning curve in a logical way, based on how often something appears in code, ideally in both core and contrib, combned.
I recognize that little-used code functions may still be quite important, but this approach would certainly serve as a good guide.
I don't have the skillset to write this report. Is there anyone for whom producing this function frequency report would be a relative cinch?
Margie
Yeah, that's the one. I had this set up once but have deleted it since. It's a funny story actually. I configured it to keep logs of my local Drupal, but forgot to turn it off. Several weeks later my hard drive was completely out of space and crashing. It wasn't until I found the 120GB of KCacheGrind files that I could use my computer again. Robert Douglass Senior Drupal Advisor Acquia robert@acquia.com +1 517 639 0204 (US) +49 228 4097 197 (Germany) On Jun 29, 2008, at 1:39 PM, Marjorie Roswell wrote:
Is that this? http://kcachegrind.sourceforge.net/cgi-bin/show.cgi
I seriously wouldn't have a clue how to get that running.
If it's easy for you, can you release this report? If not, well, 'twas a good idea, anyhow.
Margie
On Sun, Jun 29, 2008 at 7:09 AM, Robert Douglass <rob@robshouse.net> wrote:
XCachGrind makes such reports.
Robert Douglass
Senior Drupal Advisor Acquia robert@acquia.com +1 517 639 0204 (US) +49 228 4097 197 (Germany)
On Jun 29, 2008, at 1:04 PM, Marjorie Roswell wrote:
I'm on a drupal learning curve.
It occurs to me that I'd love to see a report of all the functions used in Drupal by frequency. (Then, I'd tackle the learning curve by starting with what's used most, and moving down the list!)
I imagine starting with something like the api pull from the Module Builder Module (http://drupal.org/project/module_builder) and then somehow scanning the CVS for all the functions, and calculating a frequency.
Seriously, would love to basically tackle this learning curve in a logical way, based on how often something appears in code, ideally in both core and contrib, combned.
I recognize that little-used code functions may still be quite important, but this approach would certainly serve as a good guide.
I don't have the skillset to write this report. Is there anyone for whom producing this function frequency report would be a relative cinch?
Margie
The frequency changes per page that you're loading... but to set it up you need to install xdebug and setup the profiling.. http://onwebdevelopment.blogspot.com/2008/06/php-code-performance-profiling-... might be a good starting point for you. .darrel. On Sun, Jun 29, 2008 at 7:39 AM, Marjorie Roswell <mroswell@gmail.com> wrote:
Is that this? http://kcachegrind.sourceforge.net/cgi-bin/show.cgi
I seriously wouldn't have a clue how to get that running.
If it's easy for you, can you release this report? If not, well, 'twas a good idea, anyhow.
Margie
On Sun, Jun 29, 2008 at 7:09 AM, Robert Douglass <rob@robshouse.net> wrote:
XCachGrind makes such reports.
Robert Douglass
Senior Drupal Advisor Acquia robert@acquia.com +1 517 639 0204 (US) +49 228 4097 197 (Germany)
On Jun 29, 2008, at 1:04 PM, Marjorie Roswell wrote:
I'm on a drupal learning curve.
It occurs to me that I'd love to see a report of all the functions used in Drupal by frequency. (Then, I'd tackle the learning curve by starting with what's used most, and moving down the list!)
I imagine starting with something like the api pull from the Module Builder Module (http://drupal.org/project/module_builder) and then somehow scanning the CVS for all the functions, and calculating a frequency.
Seriously, would love to basically tackle this learning curve in a logical way, based on how often something appears in code, ideally in both core and contrib, combned.
I recognize that little-used code functions may still be quite important, but this approach would certainly serve as a good guide.
I don't have the skillset to write this report. Is there anyone for whom producing this function frequency report would be a relative cinch?
Margie
We released an amazon ec2 ami with xdebug setup and output for kcachegrind/wincachegrind, have a look here : http://www.io1.biz/blogs/drupalxdebugvimkcachegrind-ec2-ami Fintan Darrel O'Pry wrote:
The frequency changes per page that you're loading... but to set it up you need to install xdebug and setup the profiling..
http://onwebdevelopment.blogspot.com/2008/06/php-code-performance-profiling-...
might be a good starting point for you.
.darrel.
On Sun, Jun 29, 2008 at 7:39 AM, Marjorie Roswell <mroswell@gmail.com <mailto:mroswell@gmail.com>> wrote:
Is that this? http://kcachegrind.sourceforge.net/cgi-bin/show.cgi
I seriously wouldn't have a clue how to get that running.
If it's easy for you, can you release this report? If not, well, 'twas a good idea, anyhow.
Margie
On Sun, Jun 29, 2008 at 7:09 AM, Robert Douglass <rob@robshouse.net <mailto:rob@robshouse.net>> wrote: > XCachGrind makes such reports. > > Robert Douglass > > Senior Drupal Advisor > Acquia > robert@acquia.com <mailto:robert@acquia.com> > +1 517 639 0204 (US) > +49 228 4097 197 (Germany) > > > > On Jun 29, 2008, at 1:04 PM, Marjorie Roswell wrote: > >> I'm on a drupal learning curve. >> >> It occurs to me that I'd love to see a report of all the functions >> used in Drupal by frequency. (Then, I'd tackle the learning curve by >> starting with what's used most, and moving down the list!) >> >> I imagine starting with something like the api pull from the Module >> Builder Module (http://drupal.org/project/module_builder) and then >> somehow scanning the CVS for all the functions, and calculating a >> frequency. >> >> Seriously, would love to basically tackle this learning curve in a >> logical way, based on how often something appears in code, ideally in >> both core and contrib, combned. >> >> I recognize that little-used code functions may still be quite >> important, but this approach would certainly serve as a good guide. >> >> I don't have the skillset to write this report. Is there anyone for >> whom producing this function frequency report would be a relative >> cinch? >> >> Margie > >
-- Fintan Galvin Managing Director IO1 Limited Leveraging Strategic Advantage Mobile: +44 773 8506781 Ph: + 44 20 8816 7690 skype: johnfgalvin ******************************************************************** Important. Confidentiality: This communication is intended for the above-named person(s) and may be confidential and/or legally privileged. Any opinions expressed in this communication are not necessarily those of the company. If it has come to you in error you must take no action based on it, nor must you copy or show it to anyone; please delete/destroy and inform the sender immediately. ********************************************************************
Marjorie Roswell wrote:
Seriously, would love to basically tackle this learning curve in a logical way, based on how often something appears in code, ideally in both core and contrib, combned.
Honestly, the best way to tackle the Drupal development learning curve is just to shell out 30 smackers for Pro Drupal Development (use the "Buy" link at http://www.drupalbook.com/; the Drupal Association gets a little bit of a cut). Trying to learn functions piecemeal like that is going to leave you with a bit of a "swiss cheese" understanding of how things fit together, and further frustration as you go along. PDD is great because it guides you "top down" through all of Drupal's various sub-systems. I'd been developing with Drupal heavily for over 2 years when I first read it and it still managed to cement a bunch of fundamentals for me and really help me see how everything fit together. The one caveat is that there's a 2nd edition due out in late August on Drupal 6. So you'll probably end up re-buying the book again in the fall if you buy it now. However, my guess is that if you could cut the time spent suffering the Drupal learning curve by 1000 hours, you can probably make that $30 up in a quick dash of client work real soon. ;) Also, I've not had a chance to really sit down and read it yet, but in paging through, the book "Learning Drupal 6 Module Development" looks like it would be a good second book to pick up once you get the concepts in PDD down and want to start actually building things. -Angie
At 8:14 AM -0400 6/29/08, Angela Byron wrote:
PDD is great because it guides you "top down" through all of Drupal's various sub-systems. I'd been developing with Drupal heavily for over 2 years when I first read it and it still managed to cement a bunch of fundamentals for me and really help me see how everything fit together.
The one caveat is that there's a 2nd edition due out in late August on Drupal 6.
[rising to the bait] Late August? I certainly hope it's not that late! :) I'm aiming squarely for mid-July; late July if things don't go as fast as we hope. Ignore the predictions on the publisher's website. What do they know about book timelines anyway? Er... That said, the first edition is still a good introduction to Drupal's various systems. John
I agree for the most part with Angela. I started Piece mail learning drupal and just didn't get what Drupal was doing so at best I was copy and past code segments not understanding why they worked. I read Pro Drupal Development and it helped some but I found that "Learning Drupal 6 Module Development" layed it out how things worked together for me and taught me the basics and showed me real world ways of doing things something Pro Drupal Development didn't do. Don't get me wrong I now reference both book and for something Pro Drupal Development is great but to me it is more a reference book for the most common commands then a good book to teach you the in's and out's of Drupal. Thanks Robert Angela Byron wrote:
Marjorie Roswell wrote:
Seriously, would love to basically tackle this learning curve in a logical way, based on how often something appears in code, ideally in both core and contrib, combned.
Honestly, the best way to tackle the Drupal development learning curve is just to shell out 30 smackers for Pro Drupal Development (use the "Buy" link at http://www.drupalbook.com/; the Drupal Association gets a little bit of a cut).
Trying to learn functions piecemeal like that is going to leave you with a bit of a "swiss cheese" understanding of how things fit together, and further frustration as you go along. PDD is great because it guides you "top down" through all of Drupal's various sub-systems. I'd been developing with Drupal heavily for over 2 years when I first read it and it still managed to cement a bunch of fundamentals for me and really help me see how everything fit together.
The one caveat is that there's a 2nd edition due out in late August on Drupal 6. So you'll probably end up re-buying the book again in the fall if you buy it now. However, my guess is that if you could cut the time spent suffering the Drupal learning curve by 1000 hours, you can probably make that $30 up in a quick dash of client work real soon. ;)
Also, I've not had a chance to really sit down and read it yet, but in paging through, the book "Learning Drupal 6 Module Development" looks like it would be a good second book to pick up once you get the concepts in PDD down and want to start actually building things.
-Angie
Quoting Marjorie Roswell <mroswell@gmail.com>:
I'm on a drupal learning curve.
Besides the other things that have been mentioned have a look at http://api.drupal.org http://drupal.kollm.org/node/1 http://drupalmodules.com/ Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
and also http://api.freestylesystems.co.uk psynaptic http://freestylesystems.co.uk http://api.freestylesystems.co.uk On 29 Jun 2008, at 15:18, Earnie Boyd wrote:
Quoting Marjorie Roswell <mroswell@gmail.com>:
I'm on a drupal learning curve.
Besides the other things that have been mentioned have a look at
http://api.drupal.org http://drupal.kollm.org/node/1 http://drupalmodules.com/
Earnie -- http://for-my-kids.com/ -- http://give-me-an-offer.com/
participants (9)
-
Angela Byron -
Darrel O'Pry -
Earnie Boyd -
fintan@io1.biz -
John VanDyk -
Marjorie Roswell -
Richard Burford -
Robert Douglass -
Robert Middleswarth