| Author |
Message |
|
| Guest |
Posted: Mon Jul 28, 2008 6:35 pm |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Mon Jul 28, 2008 8:30 pm |
|
|
|
Guest
|
The hook that Yaws calls is erlyweb:out(), which you can invoke by
yourself not through Yaws, but ErlyWeb expects the Yaws arg as the
parameter to this function. It would be beneficial (and not that hard)
to have an abstraction layer for the underlying web server to remove
the dependency on Yaws, but currently ErlyWeb does depend on Yaws.
On Mon, Jul 28, 2008 at 11:35 AM, mark <markkicks@gmail.com> wrote:
>
> how do i run erlyweb without yaws?
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Jul 28, 2008 8:47 pm |
|
|
|
Guest
|
Hi Yariv,
thanks a lot for the reply!
what i am trying to do is expose some methods of an existing erlang by
REST api..
is erlyweb a good choice for something like this? if not what do you recommend?
can you build the abstraction layer to remove the dependency on yaws
and have an inbuilt web-server?
thanks
On Mon, Jul 28, 2008 at 1:30 PM, Yariv Sadan <yarivsadan@gmail.com> wrote:
>
> The hook that Yaws calls is erlyweb:out(), which you can invoke by
> yourself not through Yaws, but ErlyWeb expects the Yaws arg as the
> parameter to this function. It would be beneficial (and not that hard)
> to have an abstraction layer for the underlying web server to remove
> the dependency on Yaws, but currently ErlyWeb does depend on Yaws.
>
> On Mon, Jul 28, 2008 at 11:35 AM, mark <markkicks@gmail.com> wrote:
>>
>> how do i run erlyweb without yaws?
>>
>> >
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post received from mailinglist |
|
|
| Back to top |
|
| ketralnis |
Posted: Mon Jul 28, 2008 9:02 pm |
|
|
|
User
Joined: 20 Jul 2007
Posts: 151
Location: San Francisco, CA
|
> what i am trying to do is expose some methods of an existing erlang by
> REST api..
It sounds like you'd be better off using inets or mochiweb. Erlyweb is
more of a framework for building web applications with database access
and compiled templates (i.e. typically user-facing apps). It sounds
like you're more looking for an HTTP toolkit.
>
>
> is erlyweb a good choice for something like this? if not what do you
> recommend?
>
> can you build the abstraction layer to remove the dependency on yaws
> and have an inbuilt web-server?
> thanks
>
> On Mon, Jul 28, 2008 at 1:30 PM, Yariv Sadan <yarivsadan@gmail.com>
> wrote:
>>
>> The hook that Yaws calls is erlyweb:out(), which you can invoke by
>> yourself not through Yaws, but ErlyWeb expects the Yaws arg as the
>> parameter to this function. It would be beneficial (and not that
>> hard)
>> to have an abstraction layer for the underlying web server to remove
>> the dependency on Yaws, but currently ErlyWeb does depend on Yaws.
>>
>> On Mon, Jul 28, 2008 at 11:35 AM, mark <markkicks@gmail.com> wrote:
>>>
>>> how do i run erlyweb without yaws?
>>>
>>>>
>>>
>>
>>>
>>
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post received from mailinglist |
|
|
| Back to top |
|
| jeffm |
Posted: Mon Jul 28, 2008 11:42 pm |
|
|
|
User
Joined: 29 Sep 2008
Posts: 43
|
David King wrote:
>> what i am trying to do is expose some methods of an existing erlang by
>> REST api..
>>
>
> It sounds like you'd be better off using inets or mochiweb. Erlyweb is
> more of a framework for building web applications with database access
> and compiled templates (i.e. typically user-facing apps). It sounds
> like you're more looking for an HTTP toolkit.
>
>
I was about to say the same thing. You phrased it better though.
Jeff.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
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 cannot attach files in this forum You cannot download files in this forum
|
|
|