Re: [OT] loading Javascript from CDN (was: [NEW] www/dojo)
On Mon, Dec 06, 2010 at 02:43:45PM +0100, Joachim Schipper wrote: On Mon, Dec 06, 2010 at 02:47:26PM +0200, Alexey Suslikov wrote: Marc Espie wrote: On Sun, Dec 05, 2010 at 06:20:51PM +0100, Landry Breuil wrote: To be honest, i doubt a js framework has its place in the portstree. Usually you just unzip stuff directly in www dirs.. There's precedent for that. I don't see why not, especially if we can share stuff. To share stuff like that nowadays people use CDNs. http://code.google.com/apis/libraries/devguide.html#dojo There are some disadvantages to that, e.g. a connection to an extra domain and reliance on Google. It's not *always* the best solution. actually using a separate domain might be an advantange in some cases. f.-
Re: [OT] loading Javascript from CDN (was: [NEW] www/dojo)
On 2010/12/14 18:05, Federico G. Schwindt wrote: On Mon, Dec 06, 2010 at 02:43:45PM +0100, Joachim Schipper wrote: On Mon, Dec 06, 2010 at 02:47:26PM +0200, Alexey Suslikov wrote: Marc Espie wrote: On Sun, Dec 05, 2010 at 06:20:51PM +0100, Landry Breuil wrote: To be honest, i doubt a js framework has its place in the portstree. Usually you just unzip stuff directly in www dirs.. There's precedent for that. I don't see why not, especially if we can share stuff. To share stuff like that nowadays people use CDNs. http://code.google.com/apis/libraries/devguide.html#dojo There are some disadvantages to that, e.g. a connection to an extra domain and reliance on Google. It's not *always* the best solution. actually using a separate domain might be an advantange in some cases. absolutely; especially if your main domain is using cookies or something else which breaks HTTP caching.
Re: [NEW] www/dojo
Marc Espie wrote: On Sun, Dec 05, 2010 at 06:20:51PM +0100, Landry Breuil wrote: On Sat, Dec 04, 2010 at 01:24:14PM +0100, Remi Pointel wrote: On Wed, 1 Dec 2010 20:06:53 +0100 Remi Pointel remi.poin...@xiri.fr wrote: Hi, this is the port of Dojo, an open-source JavaScript toolkit. I didn't find better than cp the 3 directories, has someone an other idea ? is it correct ? [...] Critical positive or negative would be appreciated ;-). Hi, no comments for this port ? Is the do-install correct ? To be honest, i doubt a js framework has its place in the portstree. Usually you just unzip stuff directly in www dirs.. There's precedent for that. I don't see why not, especially if we can share stuff. To share stuff like that nowadays people use CDNs. http://code.google.com/apis/libraries/devguide.html#dojo Alexey
Re: [OT] loading Javascript from CDN (was: [NEW] www/dojo)
On Mon, Dec 06, 2010 at 02:47:26PM +0200, Alexey Suslikov wrote: Marc Espie wrote: On Sun, Dec 05, 2010 at 06:20:51PM +0100, Landry Breuil wrote: To be honest, i doubt a js framework has its place in the portstree. Usually you just unzip stuff directly in www dirs.. There's precedent for that. I don't see why not, especially if we can share stuff. To share stuff like that nowadays people use CDNs. http://code.google.com/apis/libraries/devguide.html#dojo There are some disadvantages to that, e.g. a connection to an extra domain and reliance on Google. It's not *always* the best solution. Joachim
Re: [OT] loading Javascript from CDN (was: [NEW] www/dojo)
Le lun 06/12/10 14:43, Joachim Schipper joac...@joachimschipper.nl a écrit: On Mon, Dec 06, 2010 at 02:47:26PM +0200, Alexey Suslikov wrote: Marc Espie wrote: On Sun, Dec 05, 2010 at 06:20:51PM +0100, Landry Breuil wrote: To be honest, i doubt a js framework has its place in the portstree. Usually you just unzip stuff directly in www dirs.. There's precedent for that. I don't see why not, especially if we can share stuff. To share stuff like that nowadays people use CDNs. http://code.google.com/apis/libraries/devguide.html#dojo There are some disadvantages to that, e.g. a connection to an extra domain and reliance on Google. It's not *always* the best solution. Joachim I'm OK with you, I think not all people want to be connected to Google. But thanks Alexey for the link, I didn't know this. Remi.
Re: [NEW] www/dojo
On Sat, Dec 04, 2010 at 01:24:14PM +0100, Remi Pointel wrote: On Wed, 1 Dec 2010 20:06:53 +0100 Remi Pointel remi.poin...@xiri.fr wrote: Hi, this is the port of Dojo, an open-source JavaScript toolkit. I didn't find better than cp the 3 directories, has someone an other idea ? is it correct ? [...] Critical positive or negative would be appreciated ;-). Hi, no comments for this port ? Is the do-install correct ? To be honest, i doubt a js framework has its place in the portstree. Usually you just unzip stuff directly in www dirs.. Landry
Re: [NEW] www/dojo
On Sun, Dec 05, 2010 at 06:20:51PM +0100, Landry Breuil wrote: On Sat, Dec 04, 2010 at 01:24:14PM +0100, Remi Pointel wrote: On Wed, 1 Dec 2010 20:06:53 +0100 Remi Pointel remi.poin...@xiri.fr wrote: Hi, this is the port of Dojo, an open-source JavaScript toolkit. I didn't find better than cp the 3 directories, has someone an other idea ? is it correct ? [...] Critical positive or negative would be appreciated ;-). Hi, no comments for this port ? Is the do-install correct ? To be honest, i doubt a js framework has its place in the portstree. Usually you just unzip stuff directly in www dirs.. There's precedent for that. I don't see why not, especially if we can share stuff. I remember dojo being very very slow, though. did it improve recently ?
Re: [NEW] www/dojo
On Wed, 1 Dec 2010 20:06:53 +0100 Remi Pointel remi.poin...@xiri.fr wrote: Hi, this is the port of Dojo, an open-source JavaScript toolkit. I didn't find better than cp the 3 directories, has someone an other idea ? is it correct ? [...] Critical positive or negative would be appreciated ;-). Hi, no comments for this port ? Is the do-install correct ? Thanks, Remi.
[NEW] www/dojo
Hi, this is the port of Dojo, an open-source JavaScript toolkit. I didn't find better than cp the 3 directories, has someone an other idea ? is it correct ? Few information : $ pkg_info dojo Information for inst:dojo-1.5.0 Comment: modular JavaScript toolkit Description: Dojo is an Open Source JavaScript Toolkit for constructing dynamic web user interfaces. It is designed to ease the rapid development of cross-platform, JavaScript/Ajax-based applications and web sites. This package contains Dojo, Dijit and Dojox. Maintainer: Remi Pointel remi.poin...@xiri.fr WWW: http://www.dojotoolkit.org/ Critical positive or negative would be appreciated ;-). Thanks, Remi. dojo-1.5.0.tar.gz Description: Binary data