[ 7 posts ]

Damien Pobel

YUI Contributor

  • Username: dpobel
  • Joined: Fri Oct 29, 2010 4:15 am
  • Posts: 8
  • Location: France
  • Twitter: dpobel
  • GitHub: dpobel
  • Gists: dpobel
  • IRC: tigrou
  • Offline
  • Profile

Status of YUI PHP Loader

Post Posted: Fri Feb 24, 2012 7:04 am
+0-
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

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile
Tags:

Re: Status of YUI PHP Loader

Post Posted: Fri Feb 24, 2012 7:08 am
+0-
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.

Damien Pobel

YUI Contributor

  • Username: dpobel
  • Joined: Fri Oct 29, 2010 4:15 am
  • Posts: 8
  • Location: France
  • Twitter: dpobel
  • GitHub: dpobel
  • Gists: dpobel
  • IRC: tigrou
  • Offline
  • Profile
Tags:

Re: Status of YUI PHP Loader

Post Posted: Mon Feb 27, 2012 8:47 am
+0-
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

FastCars

  • Username: FastCars
  • Joined: Thu May 10, 2012 1:03 pm
  • Posts: 5
  • Offline
  • Profile

Re: Status of YUI PHP Loader

Post Posted: Sat Jul 07, 2012 10:38 am
+0-
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?

RIchie Phum

  • Username: PHPLover
  • Joined: Fri Aug 24, 2012 4:43 pm
  • Posts: 1
  • Offline
  • Profile

Re: Status of YUI PHP Loader

Post Posted: Fri Aug 24, 2012 4:49 pm
+0-
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?

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: Status of YUI PHP Loader

Post Posted: Fri Aug 24, 2012 5:33 pm
+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 ;)

Damien Pobel

YUI Contributor

  • Username: dpobel
  • Joined: Fri Oct 29, 2010 4:15 am
  • Posts: 8
  • Location: France
  • Twitter: dpobel
  • GitHub: dpobel
  • Gists: dpobel
  • IRC: tigrou
  • Offline
  • Profile
Tags:

Re: Status of YUI PHP Loader

Post Posted: Mon Aug 27, 2012 12:49 am
+0-
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
  [ 7 posts ]
Display posts from previous:  Sort by  
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