Wiki articles

Showing 1-20 of 162 items.

How to Create and Use Validator Using Regular expressions

Created 20 days ago by aayushmhu.

There are Multiple Ways to Create a Validator But here we use Regular Expression or JavaScript Regular Expression or RegExp for Creation Validators. In this article, we will see the most Frequently Used Expression

2 0
1 follower
Viewed: 1 490 times
Version: 2.0
Category: How-tos

Aadhar Number Validator

Created 2 months ago by shiv.

In India have Aadhar number an we may need to valid it a input. So I created a validator for yii2

1 1
1 follower
Viewed: 4 342 times
Version: 2.0
Category: Tips
Tags: validator

Convert JSON data to html table for display on page

Created 2 months ago by shiv.

I have a calls which help me display json directly in html table.

0 0
1 follower
Viewed: 4 441 times
Version: all
Category: Tips
Tags: html, JSON

GridView show sum of columns in footer.

Created 2 months ago by shiv.

GridView show sum of columns in footer `PHP use yii\grid\DataColumn;

1 0
1 follower
Viewed: 4 458 times
Version: 2.0
Category: Tips

Interview Questions For YII2

Created 7 months ago by aayushmhu, updated 7 months ago by aayushmhu.

Hey Everyone, In this post I Just shared my Experience what most of interviewer ask in YII2 Interview.

3 0
2 followers
Viewed: 6 457 times
Version: 2.0
Category: Tips
Tags: interview

Analyse the server's USER-AGENT against browsecap file to determine it's capability.

Created 8 years ago by Deepak Pradhan, updated 8 years ago by Deepak Pradhan.

Does your application need to know user's details on browser details, os and device type? We can use PHP's misc. function to achieve that provided you have an update copy of browsercap.ini

0 0
0 follower
Viewed: 8 239 times
Version: 2.0
Category: Tips
0 0
3 followers
Viewed: 11 116 times
Version: 2.0
Category: How-tos
Tags:

`forceCopy` per Asset Bundle

Created 7 years ago by schmunk, updated 7 years ago by schmunk.

During development and depending on your setup you may need to use the options forceCopy or linkAssets of the asset manager to work around possible file-system and permission issues.

1 0
1 follower
Viewed: 11 605 times
Version: 2.0
Category: How-tos

Automatically get the SVN Revision Number of your Project

Created 8 years ago by jcagentzero, updated 8 years ago by jcagentzero.

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 followers
Viewed: 11 696 times
Version: all
Category: Tutorials

MySQL migration environment

Created 7 years ago by Fabrizio Caldarelli, updated 7 years ago by Fabrizio Caldarelli.

It can happen that you work in development environment and you make changes to database tables structures, adding tables, or changing fields.

0 0
2 followers
Viewed: 11 740 times
Version: 2.0
Category: How-tos

embedded javascript block in your view with IDE checking or intellisense

Created 8 years ago by yiqing95, updated 8 years ago by yiqing95.

this is my way for embed js code block in view file:

2 0
3 followers
Viewed: 11 918 times
Version: 2.0
Category: Tips

Using PayPal IPN with Yii2

Created 7 years ago by darioo, updated 7 years ago by darioo.

I'm using PayPal's script from

0 0
1 follower
Viewed: 12 012 times
Version: 2.0
Category: Tips

A simple widget - jump2link

Created 6 years ago by Scott_Huang, updated 6 years ago by Scott_Huang.

namespace app\components;

0 0
1 follower
Viewed: 12 107 times
Version: 2.0
Category: Tutorials

MongoDB's RBAC support class extending BaseManager

Created 8 years ago by edoardo849, updated 8 years ago by edoardo849.

Here's a possible implementation for MongoDb of the RBAC standard. Create a class "MongoDbManager" in `common\components and modify your params.php` file like this:

0 0
4 followers
Viewed: 12 525 times
Version: 2.0
Category: How-tos
Tags: mongodb, rbac, yii2

Move sources to src

Created 3 years ago by samdark, updated 3 years ago by samdark.

Yii 3 and many Yii 2 package sources are contained within src directory which is convenient since you have less directories to check.

10 0
5 followers
Viewed: 12 558 times
Version: 2.0
Category: How-tos

Using Nginx and Apache2 in separate distributed servers (ie, Amazon EC2 instances)

Created 9 years ago by Luis Lobo Borobia, updated 5 years ago by Luis Lobo Borobia.

We are running one frontend running NGINX and several app servers running Apache2. There are several issues we have come across but right now I'll be documenting one of them. I'll be completing this article when I get more time.

2 0
2 followers
Viewed: 12 612 times
Version: all
Category: Tips

Integrating ZF2 into Yii - use case demonstrated

Created 9 years ago by Boaz, updated 8 years ago by Boaz.

I needed to use a class from ZF2 in my Yii project. I've read probably all there is about this subject and still I needed lots of trial & errors to get it working, probably due to my lack of experience working with namepsaces and ZF2 in general. Also, the resources on the web are all partial, at best. Most simply refer to ZF1 where things are technically different. When I got it all working I de...

4 0
6 followers
Viewed: 12 899 times
Version: 2.0
Category: How-tos

A universal model attribute for its synthetic representation

Created 6 years ago by Alexandre Rodichevski, updated 6 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: 13 185 times
Version: 2.0
Category: Tips

Use non Gmail/Gsuite on Gcloud projects

Created 4 years ago by Luis Armando, updated 4 years ago by Maurizio Domba Cerin.

Small companies and startups use cheap email services or even Cpanel's mail services which are less secure and compete directly with bigger email providers like Microsoft with Outlook and Google with Gmail. This creates a problem when you try to use their services to send/receive emails from this cheap services. <img width="750" src="https://static.techspot.com/fileshost/newspics3/2017/google-clo...

0 0
3 followers
Viewed: 13 825 times
Version: 2.0
Category: How-tos

Customize your Growl/Alert msg easy and quickly

Created 7 years ago by Scott_Huang, updated 7 years ago by Scott_Huang.

I leverage Kartik's notification widgets.

0 1
2 followers
Viewed: 14 548 times
Version: 2.0
Category: Tips