• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Content in web applications

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey, I 'm a java programmer, but without the working knowledge (thank you Economical Crisis), so here's my question:

In large web applications, how is content normally saved? Not the usual stuff that fits nicely in a database. What do you do with let 's say entire articles you might want to publish?

Is it common to use a java cms like apache lenya? Or maybe use xml files with your own dtd to store content?

Any enlightment is welcome :-)

Greetings
Arne
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using files of any kind would be rare for a CMS these days. DBs are well suited even for lengthy text.
 
Gino Verhulst
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is it possible that a more lightweight framework like grails is more suitable than spring and hibernate to make interactive websites?

And second, let 's say for example Tripadvisor. They have a lot of content, including images, how can you manage something like that?
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Grails is built on Spring and Hibernate...

Content is almost always stored in a database; not sure why you don't believe that. Assets like images, music, etc. are generally stored on the filesystem, but not always.
 
Gino Verhulst
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's not that i dont believe it It's just that i'm having a hard time putting it all together.
So then i guess most of it is done thorugh the view technology, spring mvc and it 's views for example..

Thanks a lot for the insight so far guys!
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Most of what?

I guess I'm not sure what's tripping you up.
 
Gino Verhulst
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm sorry. I cant see the forest through the trees anymore.
By "it" I meant putting it all together. Retrieving the right content, fitting in the right images, etc

But what about tags? And by the way, are there any books you 'd recommend that give an insight into web applications and how content is handled?
 
Gino Verhulst
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
And with tags i mean folksonomy and how you store it
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Tags are just data: so an article would have a list of associated tags, probably in a table of article id => tag id, but there are other options.
reply
    Bookmark Topic Watch Topic
  • New Topic