| Page 1 of 1 | [ 7 posts ] |
|
Hi there,
We embed and use YUI3 in the CMS eZ Publish and I'd like to integrate a local loader for people that can't use the CDN. At the moment, I'm at a very early stage in this project, I'm just studying how I can/will do that. So I'm looking at the YUI PHP Loader bug tracker, this forum and the git repository. From those, it's not clear whether YUI PHP Loader is in a usable state or not. The README, this issue state that the meta data are not up to date for 3.4.1 but config_3.4.1.php and json_3.4.1.php files are available in lib/meta ? So, does the PHP Loader work with 3.4.1 or not ? In addition, I remember to have read somewhere (unfortunately I can't remember where) that PHPLoader is not really "officially supported", is that true ? Cheers |
|
We do not have a team member dedicated to PHPLoader, but have left the sources open in case anyone wants to maintain it.
The meta is available for 3.4.1, but the Loader does not know how to deal with it. We made meta-data changes to our core system in 3.4.0 and the PHP Loader doesn't know how to handle them. |
|
Thanks for the quick and clear answer. I've just opened a pull request that changes the export_modules.js script so that it keeps on generating the same file format with recent releases and also updates the meta data files to be compatible with PHP Loader.
I hope that's OK. Cheers |
|
I am a php coder, exactly how much work is required to make this work with YUI 3.5.1 or future versions? Is it like you have to manually create the linkage, and what exactly does the PHP Loader do? Load up all the javascript code into a single endpoint instead of 50 something files?
|
|
Has anybody managed to get this to work with YUI 3.6.0? Can us beautiful people get the meta file for 3.6.0?
|
|
The scripts to create module meta-data is in the Github repo:
https://github.com/yui/phploader/tree/master/scripts But there is no guarantee that it will work, Loader's internal meta-data changed in 3.5.0 and the phpLoader was not ported because we don't have a team member dedicated to keeping it up to date. But, Pull Requests are always welcome |
|
Hi,
I opened a pull request [1] to update the meta data generation script and the 3.4 meta data but nobody seemed to have a look on it I don't know if the changes are OK with 3.5 and 3.6 though. [1] https://github.com/yui/phploader/pull/2 Cheers |
| Page 1 of 1 | [ 7 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group