Erlang/OTP Forums

Author Message

<  Yaws mailing list  ~  yaws_arg.erl

Guest
Posted: Fri Oct 13, 2006 7:00 pm Reply with quote
Guest
Hi,

I created a very simple module for getting and setting values of the
Yaws 'arg' record. This lets you interact with the record values using
functions rather than the record directly, so you don't have to
include yaws_api.hrl in all your .yaws files and/or appmods.

The module is attached. Feel free to add it to the standard
distribution if you want.

Cheers,
Yariv


Post recived from mailinglist
Guest
Posted: Sun Oct 15, 2006 2:41 pm Reply with quote
Guest
I think it would be a good idea to add it to the standard distribution.

As it is now I have to recompile a lot of apps (my own and other libraries) as
soon as anything changes in yaws_api.hrl. This problem would be solved, or at
least smaller, if one could use a module as yaws_arg.erl "in sync" with the
Yaws version and call it from all other applications.

Or is there any other way to get around this problem when yaws_api.hrl is
updated? Actually it is not a nice suprise to see all your apps stop working
after upgrading Yaws. I know, I am supposed to test everything before doing
such a thing in a production environment, but but...only human, etc..

Mikael


fredag 13 oktober 2006 20:59 skrev Yariv Sadan:
> Hi,
>
> I created a very simple module for getting and setting values of the
> Yaws 'arg' record. This lets you interact with the record values using
> functions rather than the record directly, so you don't have to
> include yaws_api.hrl in all your .yaws files and/or appmods.
>
> The module is attached. Feel free to add it to the standard
> distribution if you want.
>
> Cheers,
> Yariv


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

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
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum