Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

is use of Struts in a social networking like site worth it?

 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am planning to develop a social networking like site. Even though I know most of the social networking sites out there are developed using PHP..i dont have any experience with PHP. I do however have experience with J2EE apps and am learning struts.

My Q is..do you think developing a site like this in struts is worth it?

also, most struts applications do not provide users with the correct url to pages. I mean in the URL it does not show name of the page but shows *.action or *.do. In this case if a user of such site wants to give url to their 'profile' to someone else..how will this be done? is there a way to configure struts app so it shows complete path of the page on the web browser.

sorry if these are n00b Q's.

Thanks
 
Ranch Hand
Posts: 190
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Pass parameters.

ie http://localhost/myApp/viewProfile.do?profile=myUser
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Struts 1.x or Struts 2? The real sweet spot of Struts 1.x is with form based applications. I would think that a "social networking" site would tend to be more dynamic...more "Web 2.0" style. Struts 1.x can be used to create "Web 2.0" sites, but I don't see it as the best fit. I do not have enough experience with Struts 2 to comment on its Web 2.0 and Ajax abilities.

- Brent
 
Bhaarat Sharma
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes i meant struts 2 as it already has some ajax built in I think it will be easier to get that web 2.0 feel. Also for the dynamic ability of the site i am thinking of using jQuery.

I dont have much experience with struts 2 either so hoping i'll gain some experience with it during the course of this little project. Looking forward to the Apress struts 2 book. There is no really good resource on struts 2 out there as yet.

However, If someone knows a good tutorial that shows how to use iBatis sql maps with struts 2. please post links!

I'll keep you guys updated of my progress and seek constant help on the way
 
author & internet detective
Posts: 41073
848
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You aren't required to use .do. We use non-implementation specific actions paths like "welcome/Home".

Whether Struts/J2EE is good to use depends on your goals.
 
a wee bit from the empire
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic