Re: looking for a method to record 'page views'

2009-05-17 Thread JamesF

i will try this when time allows. i have yet to interact with weblogs
in that way. so far the real time solution has been working with
minimal load to the server. i dont expect this site to scale above a
few hundred people on it at a time anyway.

On Mar 31, 2:51 pm, Matt Curry  wrote:
> Another thing to consider (especially if it's a busy site) is to not
> track the views in real time.  Instead scan your webserver logs hourly/
> daily and update the counts that way.  This allows you to cache the
> pages and still keep track of visits.
>
> -Matthttp://www.pseudocoder.com
>
> On Mar 30, 11:14 am, JamesF  wrote:
>
> > Hi all,
>
> > I am looking for a simple way of keeping track of page views. The
> > application is a rental properties website and I would like
> > advertisers who list their properties to know how many times they have
> > been viewed.
>
> > Anyone have a tried and true method for this ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: looking for a method to record 'page views'

2009-03-31 Thread Matt Curry

Another thing to consider (especially if it's a busy site) is to not
track the views in real time.  Instead scan your webserver logs hourly/
daily and update the counts that way.  This allows you to cache the
pages and still keep track of visits.

-Matt
http://www.pseudocoder.com

On Mar 30, 11:14 am, JamesF  wrote:
> Hi all,
>
> I am looking for a simple way of keeping track of page views. The
> application is a rental properties website and I would like
> advertisers who list their properties to know how many times they have
> been viewed.
>
> Anyone have a tried and true method for this ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: looking for a method to record 'page views'

2009-03-31 Thread Smelly Eddie

Have you considered using an  existing solution with metrics and
reporting surrounding it?  You can give read only access to clients as
well.

http://edwardawebb.com/programming/php-programming/cakephp/piwik-analyze-visits-cakephp-site

On Mar 30, 1:39 pm, JamesF  wrote:
> i did see that article but i think im goign to go with a different
> approach...
>
> i'm making a table called visits with four fields
>
> id ->auto increment
> listing_id ->related listing id
> timestamp ->now()
> ip_address ->users ip
>
> basically whenever a listing is view i will execute an insert on the
> database logging the information. when i display the stats i will run
> queries off the table.
> i have a feeling this isn't going to be very MVC compliant but bottom
> line is i need to get it working. i have a few concerns about database
> performance but i think it will be better to do it this way than a log
> file/cron job method.
>
> On Mar 30, 12:21 pm, brian  wrote:
>
> > Have a look at this 
> > HitCountBehaviorhttp://dsi.vozibrale.com/articles/view/simple-hitcount-behavior-for-c...
>
> > I haven't used this, though it's been on my list of things to investigate.
>
> > On Mon, Mar 30, 2009 at 11:14 AM, JamesF  wrote:
>
> > > Hi all,
>
> > > I am looking for a simple way of keeping track of page views. The
> > > application is a rental properties website and I would like
> > > advertisers who list their properties to know how many times they have
> > > been viewed.
>
> > > Anyone have a tried and true method for this ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: looking for a method to record 'page views'

2009-03-30 Thread JamesF

i did see that article but i think im goign to go with a different
approach...

i'm making a table called visits with four fields

id ->auto increment
listing_id ->related listing id
timestamp ->now()
ip_address ->users ip

basically whenever a listing is view i will execute an insert on the
database logging the information. when i display the stats i will run
queries off the table.
i have a feeling this isn't going to be very MVC compliant but bottom
line is i need to get it working. i have a few concerns about database
performance but i think it will be better to do it this way than a log
file/cron job method.

On Mar 30, 12:21 pm, brian  wrote:
> Have a look at this 
> HitCountBehaviorhttp://dsi.vozibrale.com/articles/view/simple-hitcount-behavior-for-c...
>
> I haven't used this, though it's been on my list of things to investigate.
>
> On Mon, Mar 30, 2009 at 11:14 AM, JamesF  wrote:
>
> > Hi all,
>
> > I am looking for a simple way of keeping track of page views. The
> > application is a rental properties website and I would like
> > advertisers who list their properties to know how many times they have
> > been viewed.
>
> > Anyone have a tried and true method for this ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: looking for a method to record 'page views'

2009-03-30 Thread brian

Have a look at this HitCountBehavior
http://dsi.vozibrale.com/articles/view/simple-hitcount-behavior-for-cakephp

I haven't used this, though it's been on my list of things to investigate.

On Mon, Mar 30, 2009 at 11:14 AM, JamesF  wrote:
>
> Hi all,
>
> I am looking for a simple way of keeping track of page views. The
> application is a rental properties website and I would like
> advertisers who list their properties to know how many times they have
> been viewed.
>
> Anyone have a tried and true method for this ?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---