Erlang Mailing Lists

Author Message

<  Erlyweb mailing list  ~  Using ejabberd mnesia table with ErlyWeb

Guest
Posted: Wed Sep 05, 2007 12:56 pm Reply with quote
Guest
Hi all,

I would like to access my ejabberd tables in my erlyweb application.
I have done a few modifications to mod_yaws.erl so that I run my
erlyweb apps embedded in ejabberd. Startup is ok, listing the content
of my tables is ok. However I can't add new elements from erlyweb,
due to the lack of id's in those tables.

So is there a clever way to work with erlyDB without id's in my tables ?
The other option is not to use erlyDB, I guess ... Sad

Regards
Eric

mod_yaws : http://ejabberd.jabber.ru/mod_yaws
I will submit my patch to the author very soon.

--~--~---------~--~----~------------~-------~--~----~
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 recived from mailinglist
Guest
Posted: Thu Sep 06, 2007 7:12 am Reply with quote
Guest
I haven't used ejabberd, so I can't be of too much help, but are those
tables Mnesia tables or some other DBMS?

On 9/5/07, Eric Cestari <ecestari@gmail.com> wrote:
>
> Hi all,
>
> I would like to access my ejabberd tables in my erlyweb application.
> I have done a few modifications to mod_yaws.erl so that I run my
> erlyweb apps embedded in ejabberd. Startup is ok, listing the content
> of my tables is ok. However I can't add new elements from erlyweb,
> due to the lack of id's in those tables.
>
> So is there a clever way to work with erlyDB without id's in my tables ?
> The other option is not to use erlyDB, I guess ... Sad
>
> Regards
> Eric
>
> mod_yaws : http://ejabberd.jabber.ru/mod_yaws
> I will submit my patch to the author very soon.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 recived from mailinglist
Guest
Posted: Thu Sep 06, 2007 7:29 am Reply with quote
Guest
Le 6 sept. 07

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