[
https://issues.apache.org/jira/browse/SHINDIG-103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12574695#action_12574695
]
Chris Chabot commented on SHINDIG-103:
--------------------------------------
One example of how the 'features' tree completely depends on the Java shindig
version is the URL's in the features (localhost:8080), which won't work with
the php version.
Also it completely depends on the features that have been commited to the java
version, such as the new opensocial-0.7 feature includes communication with the
http://localhost:8080/gadgets/socialdata servlet
In other words, as it stands currently, using the 'default' features tree will
most likely break the out-of-the-box experience for the php version, and will
have to include a rather sizely README file to explain all the changes one has
to make to use the features.
Now I'm not suggesting we should slow down development on any part, far from
it, but i hope you can also understand my dilemma and why i choose initially to
copy it
> New PHP Shindig gadget server code
> ----------------------------------
>
> Key: SHINDIG-103
> URL: https://issues.apache.org/jira/browse/SHINDIG-103
> Project: Shindig
> Issue Type: Improvement
> Components: Gadgets Server - PHP
> Reporter: Chris Chabot
> Assignee: Brian McCallister
> Attachments: php-shindig.patch
>
>
> This patch completely replaces the old code in the php directory of the
> shindig project, and replaces it with a port of the java shindig code.
> The java code used is from a checkout from February the 14th, this because
> keeping track of the changes while porting and testing would have gotten in
> the way of completing the first release in a timely fashion.
> It implements the structure and workings from the java server and includes:
> - Gadget server
> - Proxy service
> - JS service
> The maIn differences from the Java branch are:
> - Different caching engine (abstracted base class, sample file implementation
> included)
> - Different gadget rendering work flow (no multithreading in PHP)
> - No enum's or name spaced classes in php, so their top level classes now
> - Locale class to emulate the Java's Locale class
> - Somewhat servlet like event handling to stay close to the Java's structure
> Missing is the RPC feature, some custom speedups to get it closer to the
> Java's speed (it's about 40% slower right now, but that gap might be fixed
> later on), and a better logging / error reporting structure, it now only has
> a basic DEBUG flag in the config, which if set, causes it to dump debug
> backtrace's on errors.
> It's also missing Caja support, since that is Java only at the moment. Maybe
> somewhere in the future we'll have a command line version available that we
> can use.
> It also contains a copy of the features directory structure (so that it
> doesn't break on updates from the Java side of things, changes will have to
> be implemented before you can copy over the new version) and a copy of the
> sample container (minus the Caja options), so that people can test it
> directly.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.