Captive Imagination
July 31, 2010, 11:59:56 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hosting change completed. Please send an e-mail to support@captiveimagination.com if you have any problems.
 
   Home   Help Search Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Frequently Asked Questions  (Read 3080 times)
0 Members and 1 Guest are viewing this topic.
darkfrog
Administrator
Inspired Imagination
*****
Offline Offline

Posts: 2650


View Profile
« on: June 08, 2007, 02:00:39 PM »

Any questions you have that you think would be useful for the up and coming FAQ page on the site please submit here.  Further, even if it's a question that has previously not been answered feel free to ask here.

Note: I'll be deleting the replies to this topic as I add to the FAQ list.
Logged
richard
Jr. Member
**
Offline Offline

Posts: 80


View Profile
« Reply #1 on: June 11, 2007, 03:41:38 PM »

In no particular order
  • Size position of window
  • Testing
  • Focus
  • Lifecycle
  • Model binding
  • Layout Managers - overview
  • Dimension overview
  • Architecture overview
  • Server load
  • Using Seamless inside a existing website (setting up of Web.xml)

BTW Do you have unit tests of you code. Cant find it in the source.
 
Logged
richard
Jr. Member
**
Offline Offline

Posts: 80


View Profile
« Reply #2 on: June 19, 2007, 03:41:35 PM »

Compare to other technologies like
  • GUI
  • Tapestry
  • Echo
  • Wicket
  • lots more
Logged
darkfrog
Administrator
Inspired Imagination
*****
Offline Offline

Posts: 2650


View Profile
« Reply #3 on: June 19, 2007, 05:30:49 PM »

I'll go ahead and try to address these now and then translate them into the FAQ when I get to that point (didn't want you to think I don't value these submissions):

Size and positioning of windows does not throw change events, but will always return the client-side values since the call itself requests information from the client. It is important to know this as it can create short wait-states in your code while it does a round-trip request.

Testing is not explicitly enforced in any way as every UI component is a simple bean so the entire UI can be programmatically tested without any implementation defined.

Focus is something that is not completed. When Beta 4 is released events will be thrown for focus and blur.  For now, any component can request focus via the Component's focus() method.

The lifecycle of an application in the Flex implementation (lifecycle is implementation specific obviously) is page based with a generated session id.  That session may be reconnected to if the Application in question is set to "persistent".  Otherwise, a new session is generated and thus a new application instance is created.

Model binding is something that is not explicitly supported in jSeamless, but is something on the agenda for jSeamlessX (the extensions project) and will provide a great amount of functionality for dynamic UI generation for Beans and mapping capabilities to map that data to/from the UI.

Layout management is something that is handled differently in jSeamless than in other frameworks such as Swing.  Instead of a LayoutManager that is applied to a container, the container itself is a layout manager.  For example, Box is one of the most common containers, and simply organizes components in either a single vertical or horizontal line.

Dimension (which needs to be JavaDoc'd) is an encapsulation object for width and height.  The width and height values can be represented in three different types: Pixel, Percentage, or Auto.  The only one that may not be readily understandable is Auto, but as the name suggests it simply allows the parent container to manage the value based on the components needs and the parents restraints.

Architecture overview I won't go into here, but I have plans to have lots of pretty UML diagrams.

Server load will also be explained more with diagrams.

Existing web site integration isn't as simple as I'd like it to be currently and so it's not "officially supported".  However, it will be supported in Beta 5 or 6 depending on need.

Unit tests are currently not implemented, but it definitely something needed.  Any contributions of such tests would always be appreciated. Wink

Comparisons to other technologies will probably be an extensive document explaining the differences, but that falls at lower priority since functionality is the most important at the moment.
Logged
richard
Jr. Member
**
Offline Offline

Posts: 80


View Profile
« Reply #4 on: June 19, 2007, 06:26:31 PM »

Quote
Unit tests are currently not implemented, but it definitely something needed. 

I am a bit of a Unit Test fanatic. My previous job had a large Swing App with a framework that desperately required refactoring. Trouble is, we where all far to scared to do it as it would require a full manual regression test.

When I moved to my new job (2 years ago) I made a decision to unit test whenever possible. I have used jfcUnit to test Swing, httpUnit to test HTML. I hate the fact that I cant test EBJ stuff - feel like I am falling off the edge of the word when I have to connect to a EJB. (I hate EBJ's anyway, so at least I am consistant.

I can honestly say that I have never regretted writting a unit test (even if I have to change it afterwoods) and often regretted not writing one.

IMHO if you are trying to get open source commitment, unit test are critical. You will be expecting other developers to change you code and hoping that there are no side effects. A good unit test suite can insure this - all you have to do is insure that the Unit tests don't change!

Quote
Any contributions of such tests would always be appreciated.

I would love to help with the Unit Tests - but have no idea how your code is works. In many ways Unit Tests are a specification for your code.....

Logged
ae589
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #5 on: July 03, 2007, 03:14:51 AM »

Is it possible to run jseamless outside a web container, with something like Flash Player.  I would find it useful to build components individually and launch them, rather than deploying to a container to view.

Love the concept and project, wish you all the best.
Logged
darkfrog
Administrator
Inspired Imagination
*****
Offline Offline

Posts: 2650


View Profile
« Reply #6 on: July 03, 2007, 07:30:45 AM »

Is it possible to run jseamless outside a web container, with something like Flash Player.  I would find it useful to build components individually and launch them, rather than deploying to a container to view.

There is a plan to add specific support for Adobe Apollo in the near future.  That would allow you to be able to create a jSeamless application using the Flex implementation and then the users could install it on their desktop as an application.  If you haven't looked at Apollo it's a very nice idea.

Also, there are plans to support other implementations (Swing, OpenGL, etc.) that would be non-web-based.  The Flex implementation is just the reference implementation.  It will by no means be the only implementation.
Logged
darkfrog
Administrator
Inspired Imagination
*****
Offline Offline

Posts: 2650


View Profile
« Reply #7 on: July 05, 2007, 10:07:53 AM »

For anyone relying on SVN for jSeamless, please note that a recent change in the Flex implementation will require you to modify your web.xml file to reference JSLFlexServlet instead of JSLServlet.  This is to better support the HTML implementation that is in the works and allow multiple implementations to exist in the same deployment so potentially users could choose if they'd like to see the site in HTML or Flash.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 0.2 seconds with 20 queries.