Thursday, September 8, 2016

Codeigniter tutorial 7

   No comments     
categories: ,
Codeigniter and MySQL Codeigniter by default assumes that we don't need databases. So we need to configure the database connection. In config/autoload.php we add database library  $autoload['libraries'] = array('database'); Then in config/database.php we do the configurations with the details of database and hosts $db['default'] = array(    'dsn'    => '',   ...

Thursday, July 14, 2016

Remove index.php using .htaccess : Codeigniter tutorial 6

   No comments     
categories: 
To remove 'index.php' from CodeIgniter URL, we need to make some changes in the configuration file. Step 1  open application/config/config.php search for the line  $config['index_page'] = "index.php"; and remove 'index.php' from that line. ($config['index_page'] = "";) Step 2 Create a new file inside Codeigniter folder and save it as '.htaccess' paste the following code...

Thursday, July 7, 2016

Codeigniter tutorial 5

   No comments     
categories: 
I have posted tutorials on, working with Controller and View files in the MVC Pattern Using Codeigniter. Now I go through with Model. In the application folder, we have a sub-folder model Create a new file new_model.php in model folder. <?php Class New_model extends CI_Model{ public...

Friday, June 24, 2016

Codeigniter tutorial 4

   No comments     
categories: 
Data passing from controller to view I posted CodeIgniter URL Routing in the controller, Special methods, and Controller and View files earlier. Now we see, how to pass some data to view files from controller My view file first_view.php <html> <head> <title>View</title> </head> <body> ...

Thursday, June 23, 2016

Codeigniter tutorial 3

   No comments     
categories: 
I introduced CodeIgniter routing and parameter passing on the controller in previous posts. Now I show creating functions to load 'view' files where we have our UI. Create a file in 'code\application\views'. Here the 'code' is the renamed folder of extracted CodeIgniter zipped file.  first_view.php <html> <head> ...

Codeigniter tutorial 2

   No comments     
categories: 
CodeIgniter special method For routing first, the browser looks the controller name then the method name and parameters if available. In Codeigniter tutorial, we created a function and a function with the parameters. What if we missed any parameter value in our URL We get warning and notice...

Codeigniter tutorial

   No comments     
categories: 
CodeIgniter                           Is light Weight                         No installation required                        ...

Thursday, May 19, 2016

Bash pocket reference.pdf

   No comments     
categories: 
bash_pocket_reference.pdf: Topics include: Invoking the shell Syntax Functions and variables Arithmetic expressions Command history Programmable completion Job control Shell options Command execution Coprocesses Restricted shells Built-in command...

Download Bash Quick Reference pdf

   No comments     
categories: 
Download bash_quick_reference.pdf ...

Wednesday, May 18, 2016

Basic MS-Dos commands

   No comments     
categories: ,
Here is a list of basic commands that you can use in a DOS prompt cd <directory name> cd is the basic DOS command, it allows you to change directory dir [name of directory] dir allows you to list all contents of the specified directory md  <directory name> md allows you to make a new directory, also can use mkdir command rd   directory name> rd...

Saturday, May 14, 2016

Basics of Compiler Design pdf

   No comments     
categories: 
What is a compiler? A compiler translates (or compiles) a programme written in a high-level programming language that is suitable for human programmers into the low-level machine language that is required by computers. During this process, the compiler will also attempt to spot and report obvious programmer...

Artificial Intelligence A Modern Approach 3rd edition

   No comments     
categories: 
Download Artificial Intelligence A Modern Approach.pdf  Stuart Russell and Peter Norvig  Artificial Intelligence (AI) is a big field, and this is a big book. In this book the authors have tried to explore the full breadth of the field, which encompasses logic, probability, and...

GoF Design Patterns (gang of four)

   No comments     
categories: 
click here(image) to download the pdf Chapter1  Creational Patterns  Factory, Abstract Factory, Builder, Prototype and Singleton  Chapter 2  Structural Patterns  Adapter, Bridge, Composite, Decorator, Facade, Flyweight and Proxy  Chapter 3  Behavioral...