Application usage

Archived from the Xataface Users forum.

Gwynnbleid1 — Mon Oct 22, 2012 3:11 am

Is it possible to add quicky statistical data for xataface application which could show data to all users or to admins only(depends on data)
Something which could show answers for:
How many users are logged in.
Where they are right now ?
How often a table is used ?
And so on…
It could be something like: viewonline.php


shannah — Fri Oct 26, 2012 8:44 am

It wouldn’t be hard to implement this. You could either write this custom for your own app or write it as a module that could be reused in multiple applications. This information isn’t tracked right now (sessions are stored using standard php sessions on the file system), but you could add a table to your app and start tracking who is logged in, etc… Then just display this info in an action or in a block.


Gwynnbleid1 — Mon Oct 29, 2012 3:18 am

shannah wrote:It wouldn’t be hard to implement this. You could either write this custom for your own app or write it as a module that could be reused in multiple applications. This information isn’t tracked right now (sessions are stored using standard php sessions on the file system), but you could add a table to your app and start tracking who is logged in, etc… Then just display this info in an action or in a block.

I will try to do that. I was thinking to do this in pair with forum integration.
Is there any tut for module making ?

PS. THANKS FOR ALL YOUR REPLIES !!!!


shannah — Mon Oct 29, 2012 8:10 am

There isn’t much documentation on developing modules at this time. Just this wiki page
http://xataface.com/wiki/Module_Developers_Guide

I do plan to create a much more in-depth manual when I get a chance.
Another thing that might help you is to check out existing modules do see how they are structured.
http://weblite.ca/svn/dataface/modules

Note that some of these modules use features that require Xataface 2.0… but this will give you an idea of the structure.

-Steve


Gwynnbleid1 — Tue Oct 30, 2012 11:36 pm

shannah wrote:There isn’t much documentation on developing modules at this time. Just this wiki page
http://xataface.com/wiki/Module_Developers_Guide

I do plan to create a much more in-depth manual when I get a chance.
Another thing that might help you is to check out existing modules do see how they are structured.
http://weblite.ca/svn/dataface/modules

Note that some of these modules use features that require Xataface 2.0… but this will give you an idea of the structure.

-Steve

Thanks for that !!!
I well look into this when I will sort out others issues

Thanks for help!!!