Saturday, February 27, 2016

javascript tutorial

javascript tutorial

Javascript--what the heck is it? Is it a really difficult programming language that casual web designers should be afraid of? What is it used for? Hopefully we'll be able to answer these questions for you and more in this tutorial

JavaScript has been around for several years now, in many different flavors. The main benefit of Javascript is to add additional interaction between the website and its visitors with just a little extra work by the web developer. Javascript allows industrious web masters to get more out of their website than HTML and CSS can provide.
By definition, JavaScript is a client-side scripting language. This means the web surfer's browser will be running the script. The opposite of client-side is server-side, which occurs in a language like PHP. PHP scripts are run by the web hosting server.
There are many uses (and abuses!) for the powerful JavaScript language. Here are a few things that you may or may not have seen in your web surfing days:
  • Clocks
  • Mouse Trailers (an animation that follows your mouse when you surf a site)
  • Drop Down Menus
  • Alert Messages
  • Popup Windows
  • HTML Form Data Validation

tutorial overview

Before you begin this tutorial, you should have basic knowledge of HTML. Check out our Beginner and HTML tutorials to brush up on the basics.
This tutorial will cover the basics of JavaScript, from where to place your JavaScript all the way to making your own JavaScript functions. Also, there will be some good programming practice tips throughout this tutorial.
We recommend that you read a few lessons a day and practice what you have learned. This will help you to absorb the material more readily than if you blasted through the entire tutorial in one sitting!

Friday, February 26, 2016

php / mysql tutorial

php / mysql tutorial
MySQL is currently the most popular open source database server in existence. On top of that, it is very commonly used in conjunction with PHP scripts to create powerful and dynamic server-side applications.MySQL has been criticized in the past for not supporting all the features of other popular and more expensive DataBase Management Systems. However, MySQL continues to improve with each release (currently version 5), and it has become widely popular with individuals and businesses of many different sizes.
what is a database?

A database is a structure that comes in two flavors: a flat database and a relational database. A relational database is much more oriented to the human mind and is often preferred over the gabble-de-gook flat database that are just stored on hard drives like a text file. MySQL is a relational database.
  1. In a relational structured database there are tables that store data. The columns define which kinds of information will be stored in the table. An individual column must be created for each type of data you wish to store (i.e. Age, Weight, Height).
  2. On the other hand, a row contains the actual values for these specified columns. Each row will have 1 value for each and every column. For example a table with columns (Name, Age, Weight-lbs) could have a row with the values (Bob, 65, 165). If all this relational database talk is too confusing, don't despair. We will talk about and show a few examples in the coming lessons.

why use a database?

Databases are most useful when it comes to storing information that fits into logical categories. For example, say that you wanted to store information of all the employees in a company. With a database you can group different parts of your business into separate tables to help store your information logically. Example tables might be: Employees, Supervisors, and Customers. Each table would then contain columns specific to these three areas. To help store information related to each employee, the Employees table might have the following columns: Hire, Date, Position, Age, and Salary.
learn mysql

Before you begin this tutorial you should have a basic knowledge of the information covered in our PHP and HTML tutorials.
This tutorial focuses heavily on using MySQL in a PHP environment. It is aimed at teaching those who have web hosts with PHP and MySQL already installed. If you are unsure, please contact your web host.

  1. php training in kathmandu
  2. php training in lalitpur

Thursday, February 25, 2016

sql - tutorial scope

sql - (pronounced "sequel")

SQL stands for Structured Query Language, and it is a very powerful and diverse language used to create and query databases. Its loose syntax makes it easy to learn, but mastering its intricate architecture may take a bit longer.
Arming yourself with a firm understanding of its structure and mechanics will allow you to build simple, dynamic applications for the web or to create robust applications using data and databases.
The loose structure and flexibility of this language make it an ideal candidate for the web, especially since there are more than a handful of database applications available for developers o use for free, such as Microsoft's SQL Server Express and MySQL.

sql - fundamentals

Some of the basic functions of SQL are inputting, modifying, and dropping data from databases. In this tutorial, we use command line examples to give you an idea of what SQL is capable of. Coupled with the use of web languages such as HTML and PHP, SQL becomes an even greater tool for building dynamic web applications.

sql - tutorial scope

Reading further, you will encounter a number of hands-on examples intended to introduce you to SQL. The majority of these examples are intended to span across the different available variations of SQL, but the primary focus of this tutorial is Microsoft's SQL Server Express.

sql - getting started

To get started, you will need to install Microsoft SQL Server Express. For installation help, we suggest you go straight to the developer homepage:

SQL Server Express Download:

It is preferred that you select SQL Server Express 2008 for this tutorial. This version of SQL is available for private use for free, and we've provided the link to Microsoft's site, or you can find the download page by searching for "SQL Server Express" on Google.
Follow the online installation guide that Microsoft provides, and launch SQL Server Management Studio Express to connect to your SQL database. This Management Studio Application will be your temporary home for the remainder of the tutorial.

sql - world wide web

Building a website on SQL architecture is quickly becoming the standard among web 2.0 sites. With a SQL backend, it is fairly simple to store user data, email lists, or other kinds of dynamic data. E-Commerce web sites, community sites, and online web services rely on SQL databases to manage user data or process user purchases.


SQL has become popular among web developers due to its flexibility and simplicity. With some basic knowledge of HTML, PHP, and a database program such as Microsoft's SQL Server, a developer becomes capable of creating complex websites and applications while relying on online web services to provide a SQL backend in which user data is stored. This tutorial will provide you with just a small taste of this type of programming and architecture.

  1. php training in kathmandu
  1. php training in lalitpur

Wednesday, February 24, 2016

OOP Theory IN PHP

Although PHP is still not as strong in its OOP feature set as other languages, object-oriented programming in PHP has a lot going for it. And while it is possible to have a good career without learning and using OOP, you should familiarize yourself with the concept. At the very least, being able to use both OOP and procedural programming allows you to better choose the right approach for each individual project.
In this chapter, and the next (Chapter 5, “Advanced OOP”), I will explain not only the syntax of OOP in PHP 5 and later, but the key underlying OOP theories as well. In this chapter, I will use somewhat mundane examples, but in subsequent chapters, practical, real-world code will be used. Through multiple examples and plenty of explanation, I hope in this book to fully demonstrate not just how you do object-oriented programming in PHP but also when and why.

OOP Theory

The first thing that you must understand about OOP is that it presents not just new syntax but a new way of thinking about a problem. By far the most common mistake beginning OOP programmers make is to inappropriately apply OOP theory. PHP will tell you when you make a syntactical mistake, but you’ll need to learn how to avoid theoretical mistakes as well. To explain...
All programming comes down to taking actions with data: a user enters data in an HTML form; the PHP code validates it, emails it, and stores it in a database; and so forth. These are simply verbs (actions) and nouns (data). With procedural programming, the focus is on the verbs: do this, then this, then this. In OOP, the focus is on the nouns: with what types of things will the application work? In both approaches, you need to identify both the nouns and the verbs required; the difference is in the focus of the application’s design.
The two most important terms for OOP are class and object. A class is a generalized definition of a thing. Think of classes as blueprints. An object is a specific implementation of that thing. Think of objects as the house built using the blueprint as a guide. To program using OOP, you design your classes and then implement them as objects in your programs when needed.
One of the tenets of OOP is modularity: breaking applications into specific subparts. Web sites do many, many things: interact with databases, handle forms, send emails, generate HTML, etc. Each of these things can be a module, which is to say a class. By separating unrelated (albeit interacting) elements, you can develop code independently, make maintenance and updates less messy, and simplify debugging.
Related to modularity is abstraction: classes should be defined broadly. This is a common and understandable beginner’s mistake. As an example, instead of designing a class for interacting with a MySQL database, you should make one that interacts with a nonspecific database. From there, usinginheritance and overriding, you would define a more particular class for MySQL. This class would look and act like the general database class, but some of its functionality would be customized.
Another principle of OOP is encapsulation: separating out and hiding how something is accomplished. A properly designed class can do everything you need it to do without your ever knowing how it’s being done. Coupled with encapsulation is access control or visibility, which dictates how available components of the class are.
Those are the main concepts behind OOP. You’ll see how they play out in the many OOP examples in this book. But before getting into the code, I’ll talk about OOP’s dark side.
First of all, know that OOP is not a better way to program, just a different way. In some cases, it may be better and in some cases worse.
As for the technical negatives of OOP, use of objects can be less efficient than a procedural approach. The performance difference between using an object or not may be imperceptible in some cases, but you should be aware of this potential side effect.
A second issue that arises is what I have already pointed out: misuse and overuse of objects. Whereas bad procedural programming can be a hurdle to later fix, bad OOP can be a nightmare. However, the information taught over the next several chapters should prevent that from being the case for you.

Tuesday, February 23, 2016

php tutorial - learn php

php tutorial - learn php

If you want to learn the basics of PHP, then you've come to the right place. The goal of this tutorial is to teach you the basics of PHP so that you can:
  • Begin to understand the working model of PHP, so you may begin to design your own PHP projects.
  • Give you a solid base in PHP, so as to make you more valuable in the eyes of future employers.
PHP stands for PHP Hypertext Preprocessor.

php - what is it?

Taken directly from PHP's home, PHP.net, "PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly."
This is generally a good definition of PHP. However, it does contain a lot of terms you may not be used to. Another way to think of PHP is a powerful, behind the scenes scripting language that your visitors won't see!
When someone visits your PHP webpage, your web server processes the PHP code. It then sees which parts it needs to show to visitors(content and pictures) and hides the other stuff(file operations, math calculations, etc.) then translates your PHP into HTML. After the translation into HTML, it sends the webpage to your visitor's web browser.

php - what's it do?

It is also helpful to think of PHP in terms of what it can do for you. PHP will allow you to:
  • Reduce the time to create large websites.
  • Create a customized user experience for visitors based on information that you have gathered from them.
  • Open up thousands of possibilities for online tools. Check out PHP - HotScripts for examples of the great things that are possible with PHP.
  • Allow creation of shopping carts for e-commerce websites.

what you should know

Before starting this tutorial it is important that you have a basic understanding and experience in the following:
  • HTML - Know the syntax and especially HTML Forms.
  • Basic programming knowledge - This isn't required, but if you have any traditional programming experience it will make learning PHP a great deal easier.

php training in kathmandu

php training in lalitpur

Monday, February 22, 2016

php quotation difference



down voteaccepted
PHP strings can be specified not just in two ways, but in four ways.
Further more:

  1. Single quoted strings will display things almost completely "as is." Variables and most escape sequences will not be interpreted. The exception is that to display a literal single quote, you can escape it with a back slash \', and to display a back slash, you can escape it with another backslash \\ (So yes, even single quoted strings are parsed).
  2. Double quote strings will display a host of escaped characters (including some regexes), and variables in the strings will be evaluated. An important point here is that you can use curly braces to isolate the name of the variable you want evaluated. For example let's say you have the variable $type and you what to echo "The $types are" That will look for the variable $types. To get around this use echo "The {$type}s are" You can put the left brace before or after the dollar sign. Take a look at string parsing to see how to use array variables and such.
  3. Heredoc string syntax works like double quoted strings. It starts with <<<. After this operator, an identifier is provided, then a newline. The string itself follows, and then the same identifier again to close the quotation. You don't need to escape quotes in this syntax.
  4. Nowdoc (since PHP 5.3.0) string syntax works essentially like single quoted strings. The difference is that not even single quotes or backslashes have to be escaped. A nowdoc is identified with the same <<< sequence used for heredocs, but the identifier which follows is enclosed in single quotes, e.g. <<<'EOT'No parsing is done in nowdoc.

Sunday, February 21, 2016

php course content in kathmandu at openeyesit

1.Introduction to PHP 

               a. PHP data types and its functions
               b. functions
               c. array / array function
               d. PHP Superglobals
               e. URL encoding / decoding
               f. Type juggling and casting

2. Introduction to PHP with MySQLi

               a. CRUD operation

3. Database with Object oriented concept             

               a. MySQLi OO
               b. PDO

4. PHP dates and time

5. Javascript / Jquery

6. Payment gateway integration

7. HTML5 (Localstorage / Geolocation) Api


Course duration : 2 months
After completion of this course
Ø  Student can develop simple website
Ø  They have a clear vision and process of software development
   

Further more details:  php training in kathmandu

  php training in lalitpur






Saturday, February 20, 2016

php framework course in kathmandu at openeyesit

PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language. Originally created by Rasmus Lerdorf in 1994,[3] the PHP reference implementation is now produced by The PHP Group.PHP originally stood for Personal Home Page, but it now stands for the recursive backronym PHP: Hypertext Preprocessor.
PHP code may be embedded into HTML code, or it can be used in combination with various web template systems, web content management system and web frameworks. PHP code is usually processed by a PHP interpreter implemented as amodule in the web server or as a Common Gateway Interface (CGI) executable. The web server combines the results of the interpreted and executed PHP code, which may be any type of data, including images, with the generated web page. PHP code may also be executed with a command-line interface (CLI) and can be used to implement standalone graphical applications.
The standard PHP interpreter, powered by the Zend Engine, is free software released under the PHP License. PHP has been widely ported and can be deployed on most web servers on almost every operating system and platform, free of charge.

php training in kathmandu
php training in kathmandu

The PHP language evolved without a written formal specification or standard until 2014, leaving the canonical PHP interpreter as a de facto standard. Since 2014 work has been ongoing to create a formal PHP specification.
Further more visit:

php training in kathmanduphp framework course in lalitpur 

framework of php in kathmandu 

Friday, February 19, 2016

Thursday, February 18, 2016

PHP training in kathmandu

Company Profile
Openeyes IT Solution, is a finest IT institute of training, development and placement which is located at the heart of Lalitpur. It is providing quality and professional programming knowledge to the students from a decade to meet the real world’s need of professionals in a friendly environment of engineers having 2-10 years of experience in both development and teaching.

Values

So we believe in practical and project based learning for better half. We go with a motto “Our expert can make you one as we innovate and inspire the student to choose the IT field.

Vision
As today’s IT world is drastically changing our lives. Openeyes IT Solution’s vision is to focus on the programming of IT market everyday. Not only focusing it also addresses the need of the programming by providing professional education and producing professionals who can stand in this changing IT World.
Openeyes has a vision to provide a quality and practical knowledge about programming with 100% internship and job placement in the top level IT companies over Nepal for survival in this tough and competitive world.

Further more details visit:

php training in kathmandu

php training in lalitpur