[development] Query about new page

Peter Droogmans Peter at attiks.com
Fri Jul 31 08:29:23 UTC 2009


That's way Drupal has several layers of caching, the biggest advantage of a database is that's easy to move your site or for heavy visited sites you can use several front-end web servers to serve page. Amongst many other benefits of using a database (multi-user, stable, easy to backup, ...)

Regarding the speed, a good database running on a decent server is as fast as file I/O



From: development-bounces at drupal.org [mailto:development-bounces at drupal.org] On Behalf Of Ankur Jain
Sent: vrijdag 31 juli 2009 10:26
To: development at drupal.org
Subject: Re: [development] Query about new page

i just wanted to know why drupal is saving all the page content in database .. if we have many pages then it may slow down the database and also page loading.
On Fri, Jul 31, 2009 at 12:14 PM, Peter Droogmans <Peter at attiks.com<mailto:Peter at attiks.com>> wrote:

What you want to do is possible, have a look at hook_menu, this defines the path for your page, but I don't really understand what's your objection to saving your data in the database. What is it you want to achieve?





Best regards,

Peter Droogmans

Attiks

Ketsstraat 94

2140 Borgerhout

Belgium

32 3 288 61 17

32 497 44 44 77







From: development-bounces at drupal.org<mailto:development-bounces at drupal.org> [mailto:development-bounces at drupal.org<mailto:development-bounces at drupal.org>] On Behalf Of Ankur Jain
Sent: vrijdag 31 juli 2009 07:49
To: development at drupal.org<mailto:development at drupal.org>
Subject: [development] Query about new page



Hi ,
           I am new to drupal and i want to create new page like abc.php but i don't want to create this page from admin section create content -> page / story ... bco'z it save the page into database ... i want to create new php page by my own and then let say call this from one of the menu item ( on click of the menu ) .. how can i do that ...
and also wanted to know why drupal is saving all the page in database ... is for some optimization or achieve some functionality.


ankur

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.drupal.org/pipermail/development/attachments/20090731/2b10899c/attachment-0001.htm>


More information about the development mailing list