R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
Best Guessing
Last Post 01 Jan 1900 05:00 AM by . 1 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Informative
willgillenUser is Offline
New Member
New Member
Posts:33

--
01 Nov 2006 07:26 PM  
Ok, I think this would be pretty cool, and relatively easy to implement for ListX engine:

Provide a "button" that can "guess" what the list or form should populate all the configuration with.

Basically, a ListX developer could provide the connection string, and supply the table name, select whether they want a "list" or "form" (for single record display/edit). Then, click a button, and ListX examines the table, columns, keys, etc. and builds the configuration with the basic structure.

So for instance, say i have a table called "Cars" that has several columns including manufacturer, model, year, and owner. I would add a ListX module to a page, and vist the "View Options" control panel. I would select the connection string, type the table-name: "Cars", select "DataGrid" for format-type, and click "Guess". ListX would examine the table and find the columns, types, etc, and build a query for listing all the columns with sort, search, links, etc.

Then, I could add a new page. Add a ListX module to that page, and this time I would select the connection string, type the table-name: "Cars", this time select "Record View" for format-type, and click "Guess". ListX would examine the table and find the columns, types, etc, and build the queries to display the record in view/edit mode adn the queries for update/add, build all the messages for passing the record-id (key fields, etc.), and all the buttons/actions for updating, adding, and deleting the record.

Then, all I have to do is style the pages, update the actions so that the correct tabs are indicated for the linking of the two modules, and configure layout and other formatting to suite my needs. Of course, I could still add more messages, actions, etc. This would be just a quick and dirty way to go from Database Table to full functioning ListX module in just a few simple clicks.

Comment please.
TalalUser is Offline
New Member
New Member
Posts:90

--
07 Aug 2007 08:50 PM  
I have done something like that:
http://symphonyoffire.com/ListX/tabid/368/Default.aspx

I would like to see how we can improve it.
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share