suppose to have in Mongo a collection "user" like:
suppose to have in Mongo a collection "user" like:
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).
This wiki explains how to add calculated fields into your Yii Framework 2.0 gridview with filtering and sorting.
I wrote about this on my blog, but wanted to post it here too.
By popular demand, today I will be revisiting my previous Yii Framework 2 Getting Started Guide and updating it with what is currently available in the Yii Framework 2 Repository. Provide here is an super simple example CRUD application that will help you get started using the framework.