Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Need help in WebBased configurator game plan

 
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I want to make a web based configurator which will have few tabs in a single webpage and input form for config params.
What it basically will do is it will create a config.xml file @ some specified space.

What I want is to know what is the best approach to get it done.
Like java+what ??
what shall i use like any help/ideas appreciated??
 
Bartender
Posts: 2880
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It all depends on your needs.

Let me assume you do not know much about java.....


Web site that are dynamic are made in java with the use of JSP or Servlets. In both the cases, the output is
pure HTML content that is displayed to the user.
Of course there are other languages such as ASP, php, etc that will allow you to do the same


@ reading config file, most of the above technologies do support parsing xml (I really prefer Java @ stax here)

@ showing tabs, other controls, etc,
you would probably need a client side archietecture that can help your html code to be more dynamic and appealing.
there is mojo,jquery,etc. My Favorite: GWT

GWT is a good platform that integrates both server and client code into a single module of code.

No one can tell you what is the best approach, rather there is no such thing, every thing is useful in its own context.
It all depends on what your needs are and (MOST IMPORTANT) how much are you ready to pay and how skilled the person making it is.

If you plan to do things yourself, Welcome to the club,
I can guide you along if i know the technology.
 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok cool,

am the person who will program
so i will let you people know what i'm going to choose.

mean while any more suggestions are also appreciated.

Thanks,
 
salvin francis
Bartender
Posts: 2880
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Great,

Look up on SAX,STAX and DOM first in Java

if you are just looking for an inbuilt solution to read the config file, then i suggest using a properties file instead of XML
there is an inbuild properties reader in java. you just have to write 3 lines of code for it work.
but the file wont be xml then.


 
Ramakanta Sahoo
Ranch Hand
Posts: 256
Netbeans IDE Firefox Browser Fedora
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks salvin

but xml file is mandatory as the config.xml comes from the default values present in MASTER.config.xml
so i have to use xml reader and writer.

 
salvin francis
Bartender
Posts: 2880
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
as mentioned,
Look up on SAX,STAX and DOM first in Java
reply
    Bookmark Topic Watch Topic
  • New Topic