Erlang/OTP Forums

Author Message

<  Erlyweb mailing list  ~  running erlyweb without yaws

Guest
Posted: Mon Jul 28, 2008 6:35 pm Reply with quote
Guest
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
Guest
Posted: Mon Jul 28, 2008 8:30 pm Reply with quote
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
Guest
Posted: Mon Jul 28, 2008 8:47 pm Reply with quote
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
ketralnis
Posted: Mon Jul 28, 2008 9:02 pm Reply with quote
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
View user's profile Send private message AIM Address
jeffm
Posted: Mon Jul 28, 2008 11:42 pm Reply with quote
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
View user's profile Send private message

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