Metadata
- Source
- FLUID-2962
- Type
- Improvement
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Antranig Basman
- Created
2009-06-18T18:49:56.000-0400 - Updated
2014-07-11T15:02:22.444-0400 - Versions
-
- 1.1
- Fixed Versions
-
- 1.5
- Component
-
- Framework
Description
Server-side environments place particular demands on the integrity of Javascript code. This principally relate to threading and concurrency. The libraries should be made safe for concurrent access where this is a risk, and also made robust with respect to variations in concurrency (synchronous operations where asynchronicity has been assumed).
There are two main areas currently known -
i) fluid.fetchResources assumes a standard asynchronous AJAX cycle. It needs to be upgraded to function in the presence of synchronous I/O
ii) the template renderer has an inappropriately large closure scope for its state - this needs to be shrunk to just the scope of the initiation point.
Comments
-
Antranig Basman commented
2010-02-09T19:57:44.000-0500 See FLUID-3494 - fastXmlPull also needs fixing.
-
Justin Obara commented
2014-07-11T15:01:10.373-0400 This was fixed in work for Infusion 1.5 however note that:
"making it ready for the server-side" no longer means "make it thread safe"
(see channel logs: https://botbot.me/freenode/fluid-work/2014-07-11/?tz=America/Toronto )
-
Justin Obara commented
2014-07-11T15:02:22.444-0400 This was completed on work for FLUID-4609