Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 



Microsoft Gold Certified Partner - DNN Benefactor

Microsoft Gold Certified Partner

DotNetNuke Powered! 


Thursday, July 03, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
Blue Sky
Want something added to the ListX engine, or just can't wait to see what is in store for the future? Check out this forum and let us know what you think.
Subject: Built-in Code Generator

You are not authorized to post a reply.   
Author Messages
phalanx
Featherweight
Posts:10

02/15/2007 5:52 PM Alert 
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.
Talal
Middleweight
Posts:88

07/20/2007 5:09 PM Alert 
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.
Forums > Bi4ce.Modules.ListX > Blue Sky > Built-in Code Generator



ActiveForums 3.6
 
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation