Wednesday, February 12, 2014

How to make a own website by using WORDPRESS??

There are some steps through which  you can make your website in less time:-



1
Get a web host. Although you can have a "free" website these days, free means many limitations. Free sites will limit your design and function abilities, and there may be ads placed on your website. You will get a sub domain with a free website, instead of a domain. In other words, instead of yourspace.com, you will get yourspace.freesite.com. Why does that make a difference? First of all, everyone has come to recognize these sites as free websites and they will assume that they are inferior. Most importantly, these free websites will not generally get the respect of the search engines. Your free website will not get much traffic from the search engines. So, get yourself a web host.
Make a Website Using Wordpress Step 1.jpg

2
Create the website. Create the website with Wordpress. Wordpress is a great program 
to make websites and blogs, and it comes with your web hosting plan. Wordpress is a new breed of website creators known as "CMS", or "Content Management Systems". These web creators require no HTML or any other programming language. Most of the design elements of the website are controlled by an intuitive menu, or icons
Make a Website Using Wordpress Step 2.jpg

3
Select the design theme from thousands of available themes. Plug in the content. The bottom line here is that you can create a very professional looking website that will generate traffic, without having to learn any programming languages. Instead, you can work on the content of your website. That is the two steps to creating your own website. Instead of needing professional help and paying thousands, you can create your own website in a short time, and pay as little as forty dollars or less. Your website can be as professional looking as any you've seen, and if you wish, this website could very well become a source of income for you.
Make a Website Using Wordpress Step 2.jpg

4
Market your website. Wordpress takes care of some of the SEO work automatically. It broadcasts every addition you make to your website and Google search is known to like WordPress websites.

Saturday, January 11, 2014

How to integrate a Payment Gateway in your website?

Payment gateway integration into e-commerce websites is a good way of accepting payment for products or services offered by online shopping. This ensures that an online business owner stays completely hasle free for handling payment by customers.There are some steps :-
1.To understand what a payment gateway is:-
 A Payment Gateway is basically an application which enables the user to process all his transactions online or over the internet.
  • If you want to sell your services or products via internet or a website, you need to have a payment gateway integrated on your website to facilitate easy payment transfer between customers and the business.
  • Apart from this, the payment gateway should also secure the financial institution which pays on behalf of the customer and the financial institution which is accepting payment on behalf of the seller.
  • This software acts just as a liaison between the internet and your e-commerce website.
2.Set up a payment gateway if you want to take your website to the next level and receive more clients.:-
       If you have a business web host, you may already have a payment gateway access;                    otherwise you may need to ask your web host for this service or locate some other modes          to integrate this into your site.
3.Get what you need for the integration of payment gateway:-
The process of payment gateway integration requires some effort. This is one of the software applications that needs to be stored on the user’s server. It means that a user may require a little more disk space and bandwidth.
  • Check all the requirements of the software to ensure that your present hosting package can handle the development in technical requirements
4.Ensure that the Internet Payment Gateway is compatible with all programming languages that are used on e-commerce sites:-.
 Check if you are making use of one of the following programming languages:
  • Visual Basic.Net
  • PHP
  • Perl/CGI
  • ASP.Net or ASP


Difference between sql server 2005 and sql server 2008

There are some differences between both .
 

Sr NoSQL Server 2005SQL Server 2008
1XML datatype is introduced.XML datatype is used.
2Can not encrypt the entire database.Can encrypt the entire database introduced in 2008.
3Datetime is used for both date and time.Date and time are seperately used for date and time
4No table datatype is included.Table datatype introduced.
5SSIS is started using.SSIS avails in this version.
6CMS is not available.
Central Management Server(CMS) is Introduced.
7PBM is not available
Policy based management(PBM) server is Introduced.

History of PHP

History :-

PHP development began in 1994 when the developer Rasmus Lerdorf wrote a series of Common Gateway Interface (CGI) Perl scripts, which he used to maintain his personal homepage. The tools performed tasks such as displaying his résumé and recording his web traffic. He rewrote these scripts in C for performance reasons, extending them to add the ability to work with web forms and to communicate with databases, and called this implementation "Personal Home Page/Forms Interpreter" or PHP/FI.
PHP/FI could be used to build simple, dynamic web applications. Lerdorf initially announced the release of PHP/FI as "Personal Home Page Tools (PHP Tools) version 1.0" publicly to accelerate bug location and improve the code, on the comp.infosystems.www.authoring.cgi Usenet discussion group on June 8, 1995. This release already had the basic functionality that PHP has as of 2013. This included Perl-like variables, form handling, and the ability to embed HTML. The syntax resembled that of Perl but was simpler, more limited and less consistent.
Early PHP was not intended to be a new programming language, and grew organically, with Lerdorf noting in retrospect: "I don’t know how to stop it, there was never any intent to write a programming language […] I have absolutely no idea how to write a programming language, I just kept adding the next logical step on the way. A development team began to form and, after months of work and beta testing, officially released PHP/FI 2 in November 1997.
Many high-profile open-source projects ceased to support PHP 4 in new code as of February 5, 2008, because of the Go PHP5 initiative, provided by a consortium of PHP developers promoting the transition from PHP 4 to PHP 5.
PHP interpreters are available on most existing 32-bit and 64-bit operating systems, either by building them from the PHP source code, or by using pre-built binaries. For the PHP versions 5.3 and 5.4, the only available Microsoft Windows binary distributions were 32-bit x86 builds, requiring Windows 32-bit compatibility mode while using Internet Information Services (IIS) on a 64-bit Windows platform. PHP version 5.5 made the 64-bit x86-64 builds available for Microsoft Windows.

Saturday, January 4, 2014

Run & Test WAMP server

Running & Testing on WAMP server
In this section we will learn how to start, restart the WAMP server and test a simple php program. You will be familiarized with the WAMP server directories and the different configuration options it provides.
After successful installation you can see a folder inside the C:\ drive named wamp. Inside the folder there will be many files and folders like: alias, apps, bin, lang, logs, scripts, tmp etc. We will develop PHP programs inside the www folder e.g C:\wamp\www. Now start the wamp server either by double click on the icon appear on the desktop or go to start option and then select wamp server. After selecting the wamp server you can see an icon will appear (which looks like a speedometer of vehicle) on the tray (extreme right side of the task bar) as shown in the figure below.
 Initially the icon will be partially red, it means no service is currently running, click on it and a popup menu will appear, select the start all services option. Now the color of the icon should change to white that means all services are running, if the color of the icon appears half yellow then all services are not running then follow either of these steps:
  • Left click on the icon, select apache, go to service option, click start/resume service
  • Left click on the icon, select MySQL, go to service option, click start/resume service
Another option is left click on the icon and select restart all services.
To check whether the server is running or not again click on the icon of wamp server and select Localhost option. Home page of the server will be displayed in Internet Browser.  

Let's develop a small program to check whether your server is running or not.
Open the c:\wamp\www folder, create a new folder named PHP, and open a blank text file and write the following code:
<?="Hello PHP"?>
In the above code <?= ?> is an alternate of echo language construct, to enable this option click on the wamp server icon on task bar, select PHP, select PHP settings, and then check the short open tag option.   
Then save the file with any name and .php extension. Start the server, click on the localhost link, it will open the home page of the server and then click on the php link, it will display the list of  file name as link
Click it and it will display Hello PHP in the web browser.

How can develop and test Php applications?

How can I Develop and test PHP applications?

PHP is simple programs are simple text file that are saved into .php extension. It is very easily write and test PHP code. Any editor like notepad can be used to write and save the code. To run the PHP program we need the PHP interpreter that can be downloaded from the PHP website. You can use the WAMP server on windows to test the application on your development environment. Read more about downloading and installing the WAMP server at:
Downloading & Installing WAMP server
In this section we will quickly show you the process of downloading and installing WAMP server. The use of WAMP server is easiest way to get startedwith the PHP. The WAMP server provides all the software you need to start thedevelopment of web applications using the PHP technologies.
WAMP is the acronym for Windows, Apache, MySQL, and PHP.WAMP server is one of the popular server use for PHP. It is free and you candownload it from  
http://www.wampserver.com/en/#download-wrapper(you can copy andpaste this link to the browser's address bar). After downloading the .exe file,install the file ,following steps and figures depict you how to install wamp server:
i)    After double clicking the setup file of wamp serveryou'll get a security warning,  asking for run the program or cancel it:
ii)    Click run button and you will get the following windowon your screen.
iii)    Click next button, and the next window will ask toaccept the EULA (End User License Agreement), select  I accept theagreement option, then click next:
iv)    The next window will ask for destination location,default location is c:\wamp, if you want to changethis location type your desired location or use the Browse button to select thesuitable path.
v)    Next window will ask for additional task, e.g. create aquick launch icon and create a desktop icon. Check these options if you feelneeded
vi)    Next window will display the settings you choose andask your confirmation, if you need any kind of changes you can go back and makenecessary changes, click next button otherwise:
vii)    On clicking the install button, the progress bar will show that wamp server is installing.
viii)    Meanwhile a window will show your default browser inwhich the wamp server will run, if you want to change it click no button andselect any other previously installed browser otherwise click yes.
ix)    Next window will ask for PHP mail parameters, click next button.
x)    After clicking the next button wamp server will beinstalled and configured successfully in your computer, select the run wampserver option if you want to run it, click finish.
After successfully installation, please visit our next post to learn how to run and test the wamp server.




Php Libraries


There are many libraries available for PHP, which can be used to add complex processing logic into an application. Here is the list of the few libraries:
  • pChart
    The pChart library can be used to add the charting functionalities into an application
  • Libchart
    Another simple charting library in PHP.
  • JpGraph
    Use this library to develop Object-oriented graphs.
  • Open Flash Chart
    Use this to develop flash based charts.
  • MagpieRSS
    Read and manipulate the RSS feeds in your PHP program.
  • SimplePie
    Use this to process RSS feeds and Atom feeds.
  • phpThumb
    Use this library to generate thumbnails in your PHP program.
  • PHP Payment Library
    The library can be used to integrate the applications with Paypal, Authorize.net and 2Checkout payment processing gateways.
  • Propel
    This is ORM tools for PHP5. Use this framework to develop persistence layer in PHP using Object-Relational Mapping techology.
  • Outlet
    It is another ORM mapping tool for PHP.
  • FPDF
    Use this library to generate PDF files from your PHP program.
  • php-excel
    Generate xls files from your PHP program.
  • PHP Excel Reader
    Read the xls file and retrieves the data in your php program.
  • Swift Mailer
    A mailing library in PHP
  • PHPMailer
    Very powerful emailing library in PHP.
  • SimpleTest
    Unit testing library in PHP.
  • PHPUnit
    Another UNIT testing library.