Wednesday, May 31 2017

Adminlte theme integration in Cakephp

In this post explains, how to implement CRUD operations in CakepPHP 2.x version. we are using Cakephp 2.9.3v. First download the cakephp 2.9.3v source files from Github here. Its useful for a beginner to start cakephp.
We aren’t implement jquery validations and datatable too. We use only default cakephp libraries to validate the user’s input with bootstrap 3. We use most of form fields and cover all possible cases to validate it.

See our demo video on Youtube:

Read More

Friday, May 05 2017

Adminlte Theme Integration in Yii2

After long time we have posted article about installing theme of AdminLTE for backend in Yii2 Framework. Adminlte theme integration in Yii2 useful for beginners.

Installing composer:

If you don’t have composer in your machine, download composer from Composer-Setup.exe. for Windows users.

For linux or Mac osx users please do following commands

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

Click here to see our demo video on Youtube:  Install AdminLTE theme in Yii2 Framework

Read More

Thursday, December 15 2016

Laravel installation via composer

In this post explain about laravel installation steps. Now we see the laravel versions and their prerequisites.

Version 5.3Version 5.2, 5.1, 5.0Version 4.2
  • PHP >= 5.6.4
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • PHP >= 5.5.9
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • PHP >= 5.4
  • MCrypt PHP Extension

See our demo video on Youtube:


Read More

Thursday, May 05 2016

Create Multiple Database Connection in Codeigniter

In this post we have explained about how to create multiple database connection in codeigniter. Please do the following changes in your files.

Config.php:

Change the below following things in your config.php

$active_group = 'default';
$active_record = TRUE;

Read More

Friday, April 08 2016

How to Create Custom Helper in Codeigniter

In this  article we have explained about how to create custom Helper in Codeigniter. Helper is a group of functions but it is not a class.

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

if ( ! function_exists('sample_method'))
{
    function sample_method($var = '')
    {
        return $var;
    }   
}

Read More

Sunday, April 03 2016

Predict illegal words from the content in codeigniter

To avoid the illegal words in your content as you are using codeigniter provide word_censor functions.Here we are brief explain about this function. First you mention what are the words are you going to skip from the content. Those values are maintain your table.

Table:

CREATE TABLE `test`.`get_illegal_words` (`word_id` INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `illegal_word` VARCHAR(255) NOT NULL) ENGINE = InnoDB;

Read More