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.
 
Built-in Code Generator
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
phalanxUser is Offline
New Member
New Member
Posts:10

--
15 Feb 2007 10:52 PM  
ListX would be perfect if it only have a built-in code generator that could read a query statement and generate the code automatically for forms, list views, gridviews, detail views, etc.
TalalUser is Offline
New Member
New Member
Posts:90

--
20 Jul 2007 10:09 PM  
I am currently working on something like that, but since i just started using ListX (about a week or less ago) i am hoping that someone else has some work done.


Here are some pointers;
Seems to me that the best place to start is take a template and use it as default for starting.

Look at the hospitals.tab file in the Doctor Management sample zip file.

This could be a nice start.

it includes:
1. A list
2. Search/Filter
3. Edit (inline)

if you think about it, any object in your application could have these three. (and the layout is not bad also)

So the best place to look to accomplish that is the hospitals.tab file. that file has all the text needed to work your script.

there are areas that are simple replace statements (Tab Name, location, SQL Statements etc.)

But there are more that are a bit tricky:
- Table headers
- Items (fields)
- Validation
- Variables
and actions

For those a loop will be required (some place holders, tables that hold fields and table definition and so on) then loop like there is no tomorrow.

If that is done right you should have a script that you supply (maybe using ms-access tables) the tables and fields and the script would that all the input and generate the "FILE.tab" files needed that you can simply zip and use the LP to import it.


I just started on this yesterday i already have douzens of tables and still making my way through.

I am hoping though that someone started something like this.

Anythoughts from the community?

Last thing i want is spending days on this only to find out that there is something to that nature.
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