Suggestion for improve jst.php

7 views
Skip to first unread message

Felipe Ignacio Valverde Campos

unread,
Nov 3, 2010, 11:51:09 PM11/3/10
to aspect...@googlegroups.com
Watching the web tutorial and examples, for learning and developing, it
uses the easy way - on-line transformation - in order to
instrumentalize the code. More specific, using the jst.php file.


Like in the tutorial, it uses:
<script language="javascript" src="jst.php?url=script.js"> </script>


But I noticed three issues:

1) the 'url' ,GET or POST parameter, name it is confuse for local files,
i that case is better something like 'path'

2) the download code has a strange structure, because, it needs
javascript file on the 'javascript' folder, and the js binary has to be
at parent folder. Instead of that structure, I propose join all the
AspecScript files on a single folder, and do some change on jst.php for
supporting.

3) the jst.php file uses wget tool, so, for local files it shouldn't be
used.


Cheers!
--
Estudiante de Ingeniería Civil en Computación
Departamento de Ciencias de la Computación
Universidad de Chile

http://www.dcc.uchile.cl/~fvalverd/public_key.asc

signature.asc

Rodolfo Toledo

unread,
Nov 5, 2010, 12:12:34 PM11/5/10
to aspect...@googlegroups.com
Felipe,

We are taking a look at your suggestions (it's taking a while because we
are quite busy at this time of the year). Thanks for sending them!

--
Saludos,
Rodolfo Toledo.

Paul Leger

unread,
Nov 5, 2010, 1:49:00 PM11/5/10
to AspectScript
Hi Felipe,

You can change your version of AspectScript to satisfy your
needs,
then you can propose a commit to AspectScript with your changes.

- Paul
Reply all
Reply to author
Forward
0 new messages