Closed (fixed)
Project:
YUI Rich Text Editor
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2008 at 22:27 UTC
Updated:
12 Aug 2008 at 21:23 UTC
in Drupal 6, the menu callbacks are placed in different files than <module>.module.
Usually they are placed in <module>.admin.inc for the admin pages, and <module>.pages.inc for the other pages.
The reason of doing this is to reduce the code Drupal loads when it starts (which is then parsed by PHP), and to increase the performance of the web server. I would call it an optimization.
Comments
Comment #1
avpadernoComment #2
jeffcd commentedDone.