website code generator
-
Hey guys, I have been toying around with the idea of writing a website creation program geared to novice computer users. I have googled it and I can't find anything helpful in regards to how to structure the program or writing code generation. Can anybody point me in the right direction? may your code be error free
-
Hey guys, I have been toying around with the idea of writing a website creation program geared to novice computer users. I have googled it and I can't find anything helpful in regards to how to structure the program or writing code generation. Can anybody point me in the right direction? may your code be error free
There are 3 parts: 1. Input 2. Processing 3. Output Seeing you have some form of input and you desire some form of output, the implement step 2. 90% of applications use this 'data transformation'. There is no magic involved.
**
xacc.ide-0.2.0.77 - now with C# 3.5 support and Navigation Bar!^
New xacc.ide release RSS feed^**
-
Hey guys, I have been toying around with the idea of writing a website creation program geared to novice computer users. I have googled it and I can't find anything helpful in regards to how to structure the program or writing code generation. Can anybody point me in the right direction? may your code be error free
Hi, This is just off the top of my head as I haven't done any web work for years, but depending on exactly how much functionality you wish to offer and what code you wish to generate, you should look at .NET CodeDOM for code generation and the use of XSLT with XML. XSLT can convert XML to HTML or XHTML markup, but it can also be used to generate C#, javascript or any other language from XML. If you got the users to make selections via your UI then stored these as XML you could easily generate code thus. I'm sorry not to provide more detail, but I think this is at least the right direction. Regards, Toby
-
Hi, This is just off the top of my head as I haven't done any web work for years, but depending on exactly how much functionality you wish to offer and what code you wish to generate, you should look at .NET CodeDOM for code generation and the use of XSLT with XML. XSLT can convert XML to HTML or XHTML markup, but it can also be used to generate C#, javascript or any other language from XML. If you got the users to make selections via your UI then stored these as XML you could easily generate code thus. I'm sorry not to provide more detail, but I think this is at least the right direction. Regards, Toby
Thanks a million Toby for the heads up. That's the most info i've got so far. I'll definitly take a look at it and if you have anymore info, I'd be happy to hear it! Thanks again, Richard may your code be error free