Showing 141-160 of 166 items.

What to do when composer fails to update your vendor packages?

Created 12 years ago by Kartik V Kartik V, updated 12 years ago by Kartik V Kartik V. 0 comments
  • Running a composer update does not fetch any new packages (even though the source is updated)
  • A specific vendor package never gets updated
  • Facing on and off problems when fetching packages while performing composer update.
  • You ran a composer update earlier, but it was partially done, before you lost network connectivity, and you cannot refresh packages anymore.
0 4
36
Viewed: 57 039 times
Version: 2.0
Category: Tutorials

How to use GridView with AJAX

Created 12 years ago by Antonio Ramirez Antonio Ramirez, updated 8 years ago by CeBe CeBe. 6 comments

With the adoption of PJax on Yii2 things  have change quite a bit with GridView when it comes to work with them in AJAX mode. It will probably be confusing at the beginning, but then you will soon realize how powerful the new approach is.

10 0
15
Viewed: 94 935 times
Version: 2.0
Category: How-tos

Automatically get the SVN Revision Number of your Project

Created 12 years ago by jcagentzero jcagentzero, updated 12 years ago by jcagentzero jcagentzero. 1 comment

When you are handling so many projects and those projects are saved in different repository locations, you may find it very difficult to keep track all the versions and revisions manually and it will be much harder if you are developing in multiple repository branches.

3 0
4
Viewed: 17 252 times
Version: all
Category: Tutorials

Auto-update denormalized attributes with MongoDb and Yii2

Created 12 years ago by edoardo849 edoardo849, updated 12 years ago by CeBe CeBe. 0 comments

You have different collections in MongoDb with de-normalized attributes. As you may know, due to its not-join nature, MongoDb tends to encourage repetition of the same value in different collections (de-normalization). In this MongoDb is opposed to a more SQL-like approach where you usually reference only the ID of the value with a foreign key.

1 0
3
Viewed: 22 863 times
Version: 2.0
Category: Tips

Upload files in Yii2 with MongoDb and GridFs

Created 12 years ago by edoardo849 edoardo849, updated 6 years ago by pceuropa pceuropa. 4 comments

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).

6 0
6
Viewed: 44 519 times
Version: 2.0
Category: How-tos