I need to create a web application as a drupal module.There are around 27 pages with over 110 functionalities in the application and this complete thing should be a single (plug and play) drupal module.
Please suggest a possible way to go ahead with the same as soon as possible.It is urgent.

Comments

davedelong’s picture

....

You really need to be more specific than that. Do you need to know *how* to make a module, or do you need to know how to transition your code to a module, or do you need to know something completely different?

Start here: Module Developer's Guide (6.x)

ecstasy2’s picture

Do you really need to build everything from scratch?
I think you can reuse for example a newsletter module, and only write a module for the product listing!
if you worry about, customizing, it can be done thought theming!

ecstasy2’s picture

Yes! his is right, be specific.
what do you call a functionality? what do you call a page?
If you want a website using Drupal, all the pages can be handled by the Content.module! while if your functionality is like 'newsletter','e-commerce', you can handle it with many existing modules.
But if you have to build or integrate à company 'webapp', with particular tools, you need to break the tools into module and builds them!
be specific and we'll be!

papun’s picture

actually i have been asked to build a full fledged site s admin panel first and then make it into a drupal module.It will have its own theme as well.
since i am new to drupal development i am not being able to understand where /how to start. i have gone through drupal module development guide and drupal api but it has helped me to build a small module like login or registration. what i need now is mammoth.
it will be a module that will do evrything starting from login,registration,listing users,listing products and all of this in a customized way.

kevinquillen’s picture

Dude, log into Drupal and look at it. It already does all of this out of the box.

===========
read my thoughts

tenzing7777’s picture

I have the same problem. the requiremet is that we need to build a webapp with entirely different functionality not available in contributed modules and this particular webapp is supposed to fit in to drupal 6 as a module. with the delivery date just about 4 weeks i m in a mess how to go about it. i m familiar with drupal 6 and researching on net landed me with cakephp,qcodo, zcodo , zend framework with integration points.these integration points drupallers call a module like qdrupal, drake which are mostly for drupal 5.

SO How can i build a custom web app as a custom drupal module?

kevinquillen’s picture

If what you need isn't Drupal, then why do you want to build something to crowbar into it?

===========
read my thoughts

tenzing7777’s picture

i totally agree. but i know not to what extent drupal 6 can serve web app development. if it is possible to do a regular mvc kind of web app with drupal then i think i have a point here, and thats too as a module.

we need to build a module with a custom theme and the business functionality totally different. since all web pages are basically forms and data submissions, i was wondering why drupal cant allow me to do this. it should.

any help is most welcome.

kevinquillen’s picture

I see.

At that point you would want to start from the ground up, and yes I would suggest CakePHP or Zend as a backbone framework for the custom application. By itself, Drupal is not part of a coding framework.

But also, you can put your own logic in the tpl files and create custom functions in template.php of a theme. Is this a giant commerce site, an intranet, or... ?

===========
read my thoughts

aikiken’s picture

gh0st25, I know it's been a while, I hope you are still listening or that someone who knows about this can reply. I would like to know More about building functionality into .tpl. Drupal's features are what I need but I also need to build robust web applications with portability and interactivity into it. Can someone help? If you are going to tell me that everything I need is in the box, don't bother replying please. Thanks, Aikiken

ecstasy2’s picture

I say, you can Definitly do it with Drupal!
for me Drupal 5 follow the MVC pattern:
M: Model: You put your model in any files, class
V: you implement your theme using the theme_ helper
C: you implement your controller using the hooks gived by Drupal.

Yamini Rama’s picture

I am new to use this drupal, thats why i want to use and customize already existing themes which are given in this site, so that i can learn how to work with drupal to create my own web application with interactive look and feel.
please suggest the steps to use and customize existing themes, its urgent

chrisshattuck’s picture

This is an older thread, but let me drop in some thoughts for posterity's sake.

Drupal is indeed powerful enough to run a full fledged web application. There tends to be a bit more overhead than with more bare-bones frameworks like Ruby on Rails or Zend, but you can minimize the load with clever server configuration, caching, and by using a Drupal distribution that integrates a bunch of optimization hacks (i.e. Pressflow).

If you're starting from square one and haven't build a module yet, there's some great resources out there. As davedelong mentioned (over a year ago ;) ), there's the Creating Drupal 6.x Modules handbook page to get you started. If you step up to the parent page, there's some good cross-version development information here: Module developer's guide. I also have several free videocasts about module development on Build a Module.com.

Considering the amount of heavy lifting Drupal can do, it would be difficult to justify using a bare-bones framework to develop an app. If you learn how to leverage the Drupal APIs, you get things like performance and security as handy side benefits. There's just less you have to worry about.

Cheers,
Chris

Learn virtually any aspect of Drupal on BuildAModule, where I've recorded over 2200 video tutorials.

kevlever’s picture

I created a very tabulated data driven web application and now wish to use Drupal's security, multilevel user configuration, FCKEditor and IMCE and photo galleries. The coding uses Php, Javascript/HTML forms, multiple table data extraction and manipulation for presentation as well as data manipulation before database storage has already been completed. I am relatively new to Drupal and familiar with databases and Php. I know nothing about module development.
I am currently looking into the following possibilities
Method 1.
I haven't tried yet but I am assuming I could create pages and simply paste my code in there? If so can I then somehow incorporate these pages in a module somehow? If so, my current code creates a new database link for each page and disconnects at the end of each page. How does Drupal connect to the database? Is the connection persistent or is it terminated for each page? In other words, do I have to connect to the database each page load as with my current application?
Method 2 - a lot of rework
Use content types, but then how do I incorporate all the data manipulation using views after extracting data from the database for display and also before inserting into summary and archive tables.
Method 3.
Perhaps a combination of both

Again the main functionality is to collect tabled data through forms, display data from multiples tables after being manipilated, summarize and manipulate data before archiving. I'd like to hear from someone who has developed a similar site and their experiences.
Thanks,
Kevin

Ps.
Before I start, would I be better off using Drupal 7 or Drupal 6 for this sort of functionality. That is, are there sufficient Drupal 7 modules, and how easy would it be to upgrade from Drupal 6 to Drupal 7?

Gomu’s picture

Drupal is a fantastic framework to develop web applications. Please see the tutorial at http://www.practicalphilosophy.in/drupal

With regards,
Gomu.