Posts Tagged “programming”

Python Virtual Environment
Python

Python Virtual Environment

Jan 29, 2025

In this post I want to talk about virtual environments in Python and why we need them. This is especially important if you are using Python to impleme...

Continue reading
Yii 2.0 Cron Job
Yii 2.x

Yii 2.0 Cron Job

Mar 8, 2015

In this post I want to teach you how to add a cron job to your Yii 2.0 project. What is a Cron Job? Cron Jobs are scheduled jobs.

Continue reading
Yii 2.0 Ajax
Yii 2.x

Yii 2.0 Ajax

Mar 6, 2015

In this post I want to talk about using ajax in Yii 2.0. I assume you all know what ajax is and how to use an ajax request.

Continue reading
Yii 2.0 rollBack()
Yii 2.x

Yii 2.0 rollBack()

Mar 3, 2015

In this post I want to talk about rollBack() and how to use this function. What is rollBack()? Imagine you have a table called 'Product' and a table c...

Continue reading
Yii 2.0 XSS filtering
Yii 2.x

Yii 2.0 XSS filtering

Mar 2, 2015

In this article I want to talk about XSS filtering in Yii 2.0. What is XSS? XSS or cross-site scripting happens whenoutput isn't escaped properly when...

Continue reading
Yii 2.0 Writing Widgets
Yii 2.x

Yii 2.0 Writing Widgets

Feb 28, 2015

In this post I want to teach you how to write a widget in Yii 2.0. Why do we need to add widgets to our projects? Well, sometime you want to have a sp...

Continue reading
Yii 2.0 Writing Components
Yii 2.x

Yii 2.0 Writing Components

Feb 27, 2015

In this post I want to teach you how to write components in Yii 2.0 Why do we need to write components? As an example, I can say, imagine you want to ...

Continue reading
Yii 2.0 db createCommand()
Yii 2.x

Yii 2.0 db createCommand()

Feb 24, 2015

In this post I want to talk about db createCommand() and using it to fetch records instead of find(). So far you have learnt how to use find() and usi...

Continue reading
Yii 2.0 Using Subqueries
Yii 2.x

Yii 2.0 Using Subqueries

Feb 23, 2015

In this post I want to show you how to use subqueries in your conditions.

Continue reading
Yii 2.0 find (SELECT)
Yii 2.x

Yii 2.0 find (SELECT)

Feb 20, 2015

In this post I want to talk about selecting (fetching) records from database. NOTE: When you want to download Yii 2.0, you can see that Yii 2.0 is not...

Continue reading
Yii 2.0 urlManager
Yii 2.x

Yii 2.0 urlManager

Feb 17, 2015

In this post I want to talk about urlManager in Yii 2.0 and how to create cleaner, and friendlier urls. For those of you who have worked with Yii 1.x,...

Continue reading
Pagination, OFFSET, LIMIT
SQL

Pagination, OFFSET, LIMIT

Feb 16, 2015

In this post I want to talk about LIMIT and OFFSET and how to use them, to paginate your results when you are developing a website. Let's start with a...

Continue reading
Yii 2.0 Pagination
Yii 2.x

Yii 2.0 Pagination

Feb 15, 2015

In this post I want to show you how to use pagination when your are fetching a large amount of data from your database. We all know that showing our u...

Continue reading
Yii 2.0 hasMany
Yii 2.x

Yii 2.0 hasMany

Feb 14, 2015

In our last post, you learned how to join two tables using joinWith() and using hasOne when declaring your relation. In this post I want to tell you t...

Continue reading