Wednesday, 26 August 2015

why we use wordpress??????????????


WordPress is an easiest content management for websites of all shapes and sizes. One of the common misconceptions about WordPress is that since it is open source, it may not be good enough for big brands. To disprove this myth, we have created a list of most notable big name brands that are using WordPress on their websites.



1.http://www.bata.com/
2.http://www.bbcamerica.com/
3.https://www.ebayinc.com/stories/news?
4.https://social.ford.com/content/fordsocial/en/home-page.html
5.http://www.gsu.edu/


we are often make the mistake of classifying word press just blogging platform.

1.word press powers 22.5% of all website on the internet.
2.Easy to use and flexible enough for just anything
3.you need just basic html,css knowledge
4.There are currently 2600+ WordPress themes and 31,000+ plugins available for free. You can download, install and use them on any website.

Monday, 9 March 2015

Cake PHP(part 1)

The Rapid Development PHP Framework

What is Cake PHP?

According to the official Cake PHP website, cakephp.org,

“CakePHP is a rapid development framework for PHPthat provides an extensible architecture for developing, maintaining, and deploying applications.
Using commonly known design patterns like MVC and ORM within the convention over configuration paradigm, CakePHP reduces development costs and helps developers write less code”

  

History

Cake PHP was created by Michal Tatarynowicz On April 15, 2005.Inspired by Roby on Rails.Michal published it under MIT license and opened it to the community developers.In July 2005, Larry E Masters (aka PhpNut) took over as
the lead developer.In December 2005, Larry and Garrett J. Woodworth (aka gwoo) founded the Cake Software Foundation to promote development related to Cake PHP.

Features of Cake PHP

it’s PHP! Compatibles with versions 4 and 5. Open Source, MIT license.Object Oriented. Design Patterns: MVC and ORM.Convention over configuration. Framework not set of libraries. Bake Script: Automates CRUD scripting

MVC pattern

PHP Cake enforces Model View Controller (MVC) Pattern.Cake splits operations into three parts:
  1. Models: used for all database interactions.
  2. Views: used for all output and displays.
  3.  Controllers: used to control the application flow.
why Cake PHP MVC?
  1. Reduce redundancy
  2. Organize the different tasks of the web app.
  3. No need for include statements in PHP scripts.
  4. Follow Agile techniques.
  5. Easy to debug and maintain

Friday, 6 March 2015

what Is MVC(Model-View-Controllers)

Model

Model represent capabilities. A model might be a single object (as an alternative dull), or it would be some structure of objects.

There will have to be a one-to-one correspondence between the model and its parts on the one hand, and the represented world as perceived by means of the proprietor of the model on the other hand.

View

 A view is a (visible) illustration of its mannequin. It might regularly spotlight specific attributes of the model and suppress others. It's thus performing as a presentation filter.

A view is hooked up to its model  and gets the information essential for the presentation from the model by using asking questions. It might also replace the mannequin via sending appropriate messages. All these questions and messages must be in the terminology of the model, the view will as a consequence have to comprehend the semantics of the attributes of the mannequin it represents

Controllers

A controller is the link between a user and the process. It supplies the user with input with the aid of arranging for primary views to reward themselves in appropriate locations on the monitor. It supplies method for consumer output by way of offering the person with menus or other way of giving commands and data. The controller receives such user output, translates it into the correct messages and cross these messages on to one or more of the views

The new era of web applications has introduced a number of frameworks designed to aid in rapid development. But, no matter what your preferred language is, finding a suitable framework is not usually an easy task.

Any question about Web Application Framework writes down in comment box. Everyday check this blog u will learn lot things of C programming and Web application development

Web Application Framework

What is Web Application Framework 

 A web application Framework is a patterned code process such as normal application libraries and tools providing an geared up environment for developers to software and support to create structured, maintainable code. Using a web software Framework presents the following advantages


organized &structured programming environment creates maintainable code 

It will be less difficult to make updates or alterations to the code or have new programmer(s) or programming staff(s) take over the web software mission maintenance.

  1. Supplies a greater atmosphere for more than one programmers to work on the net utility mission.
  2. By way of separating the HTML and CSS from the php code, HTML and CSS designers can work on the design (refereed to "view") folder without having to deal or tinker with the Hypertext Preprocessor code.
  3. Most frame Promotes writing a operate (or type) as soon as and reusing it in exclusive materials of the net utility as an alternative of repeating the same function in exceptional areas. So, if there's a have got to alternate the operate, it can be carried out in a single situation instead of getting to alter it in a couple of places.
  4. works come with the fashioned functionalities (courses, helpers, and libraries), such as database entry, form input security tests, validating varieties, importing images, sending emails, and so on. — those customary libraries provide an streamlined and quick approach of coding without needing to rewrite code for normal capabilities.
  5.    Presents higher beta trying out and worm fixing atmosphere — it promotes checking out one functionality at a time, alternatively of testing the entire web software which in general factors programmers to miss programming bugs.

Any question about Web Application Framework writes down in comment box. Everyday check this blog u will learn lot things of C programming and Web application development

Tuesday, 24 February 2015

Procedural Programming ( operators)

Arithmetic Operators

The fundamental arithmetic operators and their corresponding symbols in C are:

  1. Addition +
  2. Subtraction -
  3. Multiplication *
  4. Division /
  5. Modulus % 

When the / operator is used to participate in integer division the resulting integer
is obtained through discarding (or truncating) the fractional a part of the precise
floating point value. 

For illustration:
1/2=0
3/2=1


Increment & Decrement operators 

 

Increment operator ++ adds 1 to its operand 
Decrement operator __ subtracts 1 from its operand

it are two types 
  1. pre increment / Decrement 
  2. post increment / Decrement 


 

Any question about arithmetic increment & Decrement  operators writes down in comment box. Everyday check this blog u will learn lot things of C programming and Web application development 

Procedural Programming ( operators)

The Assignment Operators

In C, the assignment operator is the equal sign = and is used to give a variable
the value of an expression. 
For example:

  1. i=0;
  2. x=34.8;
  3. sum=a+b;
  4. midinit='J';
  5. j=j+3;
When used in this manner, the equal sign should be read as “gets”. Note that
when assigning a character value the character should be enclosed in single
quotes.

In the assignment statement

a=7;

two things actually occur. The integer variable a gets the value of 7, and the
expression a=7 evaluates to 7
. This allows a shorthand for multiple
assignments of the same value to several variables in a single statement. Such
as

x=y=z=13.0;

as opposed to
x=13.0;
y=13.0;
z=13.0;


The following example illustrates two methods for variable initialization:



which produces the following output:


 Any question about assignment operators writes down in comment box. Everyday check this blog u will learn lot things of C programming and Web application development 

Sunday, 22 February 2015

Procedural Programming


Write your first C program



  1.  The C program starting point is identified by the word main(). 
  2.  This informs the computer as to where the program actually starts. The parentheses that follow the keyword main indicate that there are no arguments supplied to this program (this will be examined later on). 
  3. The two braces, { and }, signify the begin and end segments of the program. In general, braces are used throughout C to enclose a block of statements to be treated as a unit. 

N.B=COMMON ERROR: unbalanced number of open and close curly brackets! 

 


The purpose of the statement #include is to allow the use of the printf statement to provide program output. For each function built into the language, an associated header file must be included. Text to be displayed by printf() must be enclosed in double quotes. The program only has the one printf() statement. 



printf() is actually a function (procedure) in C that is used for printing variable’s values and text. Where text appears in double quotes "", it is printed without modification. There are some exceptions however. This has to do with the \ and % characters. These characters are modifiers, and in this code the \ followed by the n character represents a newline character.



Thus the program prints  Hello World !

 

And the cursor is set to the beginning of the next line. As we shall see later on,
the letter that follows the \ character will determine what special printing
action is taken (i.e., a tab, backspace, clear line, etc.)

/* My first program */ 


Comments can be inserted into C programs by bracketing text with the /* and
*/ delimiters. As will be discussed later, comments are useful for a variety of
reasons. Primarily they serve as internal documentation for program structure
and functionality.





 

Friday, 20 February 2015

How to coding in C (Lesson 3)

C Header files 

In the last lesson we saw how to declare a function in C.

what is header file?

A header file is a file with extension .h which contains C function declarations and macro definitions and to be shared between several source files.
Any header file is often a file having file extension .h. Which is usually has C functionality declarations and macro definitions also to possibly be discussed concerning a number of supplier data.

Include syntax

it has following to forms
  1. # include<stdio.h>
  2. # include "stdio.h"

# include (Insert a particular header from another file) 

# include <stdio.h>

Example 
  1. #include                                //This is needed to run printf() function. 
  2. int main() 
  3. printf("C Programming");         //displays the content inside quotation 
  4. return 0; 
  5. }

Explanation how this program works

  1. Every program starts from main() function. 
  2. printf() is a library function to display output which only works if #include is included at the beginning.
  3.  Here, stdio.h is a header file (standard input output header file) and #include is command to paste the code from the header file when necessary. When compiler encounters printf() function and doesn't find stdio.h header file, compiler shows error. 
  4.  Code return 0; indicates the end of program. You can ignore this statement but, it is good programming practice to use return 0;.
Here are the list of header files 


 Any question about header files writes down in comment box. Everyday check this blog u will learn lot things of C programming and Web application development

Wednesday, 18 February 2015

Procedural Programming ( C function)

                                       C Function                                   Lesson 2

What is function ?

  A function is a group of  statement that together perform a task.C program has at least one function which is main().

Example : As we noted earlier, using a function is  something like hiring a person to do a specific job for you.

Function declaration

A function declaration tells the compiler about a function's name, return type, and parameters. A function definition provides the actual body of the function.

Calling function

Function Arguments(Parameter Passing)

There are two ways that a C function can be called from a program. They are below
  • Call by value 
  • Call by reference 


We focus on call by value so that my beloved brother & sister in BAC can pass in Procedural Programming           

     

 

Any question about function and parameter passing writes down in comment box. Everyday check this blog u will learn lot things of C programming and Web application development

                                                                



 

Procedural Programming (Variables)



      How to start coding in C               Lesson 1


First of all you have to know C variable  

 

What is variable?  

A variable is nothing but a name given to a storage area that your programs can manipulate. Each variable in C has a specific type.


The name of a variable can be composed of letters, digits, and the underscore character.


Local Variables


Variable which might be declared in the functionality are usually known as nearby factors. Local variables can be used only by statements that are inside the block in which the variables are declared. Local variables exist only while the block of code in which they are declared is executing. Although its statement happen after the main ( ) function.

 

Global Variables


Unlike local variables, global variables are known throughout the program & may be used by any piece of code. Also, they will hold their value throughout the program's execution. Make a global variable by announcing them outer of any function. Although its declaration occurs before the main () function.




Any question about variable writes down in comment box. Everyday check this blog u will learn lot things of C programming and Web application development