Wiki articles tagged with "active record"

Showing 1-3 of 3 items.

UUID instead of an auto-increment integer for ID with Active Record

Created 4 years ago by grigori, updated 4 years ago by samdark.

I have an API. It's built with a RESTful extension over Active Record, and some endpoints provide PUT methods to upload files. By a REST design we create an entity with POST /video first, and then upload a video file with PUT /video/{id}/data.

5 0
4 followers
Viewed: 60 747 times
Version: 2.0
Category: How-tos

When to use Active Record

Created 6 years ago by samdark, updated 4 years ago by samdark.

When to use Active Record is a common question among developers, Yii and overall.

13 0
4 followers
Viewed: 53 213 times
Version: all
Category: FAQs

A universal model attribute for its synthetic representation

Created 8 years ago by Alexandre Rodichevski, updated 8 years ago by Alexandre Rodichevski.

It is convenient to use the same identification attribute, say info, in all of the active records of your application. It should be a virtual read-only attribute defined by a getter method, its label being the model name.

0 0
3 followers
Viewed: 15 362 times
Version: 2.0
Category: Tips