Application usage

A place for users and developers of the Xataface to discuss and receive support.

Application usage

Postby 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
Gwynnbleid1
 
Posts: 31
Joined: Thu Sep 20, 2012 3:02 pm

Re: Application usage

Postby 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.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Application usage

Postby 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 !!!!
Gwynnbleid1
 
Posts: 31
Joined: Thu Sep 20, 2012 3:02 pm

Re: Application usage

Postby 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
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Application usage

Postby 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!!!
Gwynnbleid1
 
Posts: 31
Joined: Thu Sep 20, 2012 3:02 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 12 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved