Showing 141-160 of 652 items.

An alternative way to ElasticSearch

Created 8 years ago by Necip Necip, updated 3 years ago by Necip Necip. 5 comments

This article is for those who have dealt with the complexity of Elasticsearch or any other indexing machines and are looking for an easier way to index the existing database without additional effort.

1 0
2
Viewed: 51 534 times
Version: all
Category: How-tos

ISA hierarchy of tables inside a database and how to implement a single form

Created 15 years ago by pligor pligor, updated 15 years ago by pligor pligor. 2 comments

Please consider the following Dear software engineers imagine I have a simple ISA hierarchy: parent A with children B and C. So let's say we have the corresponding tables named "a", "b", "c" and (created with the help of the gii model creator) the classes A, B, C The following is a screenshot from MySQL workbench: ![MySQL workbench screenshot](http://s4.postimage.org/4tuwkm43d/Screenshot.pn...

1 0
3
Viewed: 19 846 times
Version: 1.1
Category: How-tos

CjuiDatepicker

Created 13 years ago by hiral darji hiral darji, updated 13 years ago by hiral darji hiral darji. 1 comment

If you have two datepicker in one form and you want that a date of from date shold be minimum date of todate then put following code in Cjuidatepicker widget options array:

'onSelect'=>'js:function(selected) {
$("#HostelRoomStatusMaster_room_status_master_end_date").datepicker("option","minDate",selected);
				}',
1 0
5
Viewed: 14 243 times
Version: 1.1
Category: Tips

Implementing menu items with progress (wait) dialog

Created 13 years ago by Trejder Trejder, updated 13 years ago by Trejder Trejder. 0 comments

This article shows one of possible ways to implement menu items (as well as links), which displays a progress / wait dialog and are redirecting browser to destination URL in the same time. This is especially useful, for links or routes that are know to be loaded for a prolonged period of time (i.e. getting a lot of data from database).

1 0
1
Viewed: 24 172 times
Version: 1.1
Category: How-tos

Logging to Heroku's logs from Yii

Created 13 years ago by aarondfrancis aarondfrancis, updated 12 years ago by aarondfrancis aarondfrancis. 0 comments

In order to get your Yii logs into Heroku's logs, you have to work a little bit of magic. You'll need to modify the boot.sh script and add the following two lines: ~~~ touch /app/apache/logs/app_log tail -F /app/apache/logs/app_log & ~~~ This will set up the log and tail it so that when you request "heroku logs", this log is included.

1 0
1
Viewed: 13 720 times
Version: 1.1
Category: How-tos

Yii configuration: Dynamic & User dependent

Created 11 years ago by le_top le_top, updated 11 years ago by le_top le_top. 0 comments

It is difficult to perform user dependent theming through a general configuration in 'main.php'. This article proposes a method to do so through a Factory that dynamically generates classes to allow delayed resolution of actual user values. This means that you can refer to values that are stored in the database through the CActiveRecord before Yii is actually loaded. The values will be fetched...

1 0
1
Viewed: 16 615 times
Version: 1.1
Category: How-tos

Using Apostle.io to send formatted, trackable emails from Yii applications

Created 12 years ago by MikeT MikeT, updated 6 years ago by Maurizio Domba Cerin Maurizio Domba Cerin. 2 comments

Apostle provides a nifty facility for sending app-generated, transactional emails from your application including Wordpress-like mail formatting and full tracking (delivery, opening, clicking etc.) of all emails sent. No need to set up email facilities on your app server!

2 1
2
Viewed: 19 694 times
Version: 1.1
Category: How-tos