sitrunlab / LearnZF2

Learn ZF2 Website
http://learnzf2.sitrun-tech.com/
BSD 3-Clause "New" or "Revised" License
19 stars 14 forks source link

Download Counter #53

Closed samsonasik closed 9 years ago

samsonasik commented 9 years ago

Need download counter to be saved to file to check how people really want to download the modules.

samsonasik commented 9 years ago

The counter can be applied as text file like :

Flow :

samsonasik commented 9 years ago

the data/download-counter/ can be ignored from version control, we can add .gitignore in the data/download-counter with :

*
!.gitignore
acelaya commented 9 years ago

Is it a file reliable enough? What about concurrent downloads?

samsonasik commented 9 years ago

not quite sure, i'm not planning with Db saving right now. any other suggestion for it ?

mockiemockiz commented 9 years ago

vote for using Db.. soon or later we need Db.

acelaya commented 9 years ago

I'm not sure how does SQLite behave with concurrent connections (does it block the file?), but could be a halfway solution.

samsonasik commented 9 years ago

I'm using shared hosting right now that doesn't support sqlite. is Mysql ok, then ?

samsonasik commented 9 years ago

is it applicable ? or any other idea ?

acelaya commented 9 years ago

I think it's good this way.

Alejandro Celaya Alastrué www.alejandrocelaya.com El 6/4/2015 1:56, "Abdul Malik Ikhsan" notifications@github.com escribió:

is it applicable ? or any other idea ?

— Reply to this email directly or view it on GitHub https://github.com/sitrunlab/LearnZF2/issues/53#issuecomment-89870281.

samsonasik commented 9 years ago

which/what way?

acelaya commented 9 years ago

Sorry :) We already have a mysql database and the DoctrineORMModule, so I think that's the good approach.

samsonasik commented 9 years ago

it's ok, I will try to create wireframe and db structure for it ;)