Closed samsonasik closed 9 years ago
The counter can be applied as text file like :
Flow :
the data/download-counter/ can be ignored from version control, we can add .gitignore in the data/download-counter with :
*
!.gitignore
Is it a file reliable enough? What about concurrent downloads?
not quite sure, i'm not planning with Db saving right now. any other suggestion for it ?
vote for using Db.. soon or later we need Db.
I'm not sure how does SQLite behave with concurrent connections (does it block the file?), but could be a halfway solution.
I'm using shared hosting right now that doesn't support sqlite. is Mysql ok, then ?
is it applicable ? or any other idea ?
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.
which/what way?
Sorry :) We already have a mysql database and the DoctrineORMModule, so I think that's the good approach.
it's ok, I will try to create wireframe and db structure for it ;)
Need download counter to be saved to file to check how people really want to download the modules.