SQL vs NoSQL Database Differences Explained with few Example DB

Most of you are already familiar with SQL database, and have a good knowledge on either MySQL, Oracle, or other SQL databases. In the last several years, NoSQL database is getting widely adopted to solve various business problems. It is helpful to understand the difference between SQL and NoSQL database, and some of available NoSQL database that you can play around with. SQL vs NoSQL: High-Level Differences SQL databases are primarily called as Relational Databases (RDBMS); whereas NoSQL database are primarily called as non-relational or distributed database. SQL databases are table based databases whereas NoSQL databases are document based, key-value … Continue reading SQL vs NoSQL Database Differences Explained with few Example DB

Rate this:

8 Online Payment Options That Aren’t PayPal

When most people think of online payments, one name comes to mind: PayPal. But for all PayPal’s strengths, it’s a bad idea to rely on it as the single system to accept payments on your site. Monopolies are never healthy, and you need to diversify your payment channels. Why You Need PayPal Alternatives There are plenty of reasons why you should support multiple payment options, but here are several of the most important ones: Your partners or customers can’t always make or accept PayPal payments. This is the major reason to offer payment alternatives. There are always people who can’t … Continue reading 8 Online Payment Options That Aren’t PayPal

Rate this:

Top 10 Programming Languages in 2014

1. Java What it is: Java is a class-based, object-oriented programming language developed by Sun Microsystems in the 1990s. It’s one of the most in-demand programming languages, a standard for enterprise software, web-based content, games and mobile apps, as well as the Android operating system. Java is designed to work across multiple software platforms, meaning a program written on Mac OS X, for example, could also run on Windows.   2. C Language What it is: A general-purpose, imperative programming language developed in the early ’70s, C is the oldest and most widely used language, providing the building blocks for … Continue reading Top 10 Programming Languages in 2014

Rate this:

How to Set Up PayPal Integration with PHP & MySQL

PayPal is the most popular payment service on the web so being able to integrate your website with PayPal’s Instant Payment Notification Service (IPN) is essential if you need to process payments through your website. There are 3 main parts to the PayPal IPN system. A webpage that initiates a request to PayPal to make a payment. A PHP page on your webserver that PayPal calls to notify you that payment has been made. A webpage that confirms the above payment and continues on to the next phase of your web application, such as a ‘Thank You’ page. Parts 1 … Continue reading How to Set Up PayPal Integration with PHP & MySQL

Rate this:

How to enable rewrite module in XAMPP, WAMP and Apache

If you are using XAMPP or WAMP as your web server, you may face a common problem that is the rewrite module (mod_rewrite) does not work properly. It is because the rewrite module is not enabled by default in Apache’s configuration settings. But you can enable it manually by doing few simple steps: Open apache’s configuration file using your favorite text editor. The configuration file generally locates at:{apache_dir}/conf/httpd.conf If you are using XAMPP or WAMP package then you will find the file at:{xampp_dir}/apache/conf/httpd.conf {wamp_dir}/apache/conf/httpd.conf Search for the following string:#LoadModule rewrite_module modules/mod_rewrite.soand uncomment it (remove the ‘#’ sign). Now search for another string AllowOverride None and replace it by AllowOverride All Finally … Continue reading How to enable rewrite module in XAMPP, WAMP and Apache

Rate this:

IIS web.config How to redirect domain.com to www.domain.com

On Windows Server 2008 IIS 7.5 You can add rewrite rule in web.config file to redirect domain.com to http://www.domain.com Replace domain.com with your domain <!–?xml version=”1.0″?> <!– For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 –> <configuration> <system.webServer> <rewrite> <rules> <rule name=”Canonical host name”> <match url=”^(.*)” /> <conditions> <add input=”{HTTP_HOST}” pattern=”^www\.domain\.com$” negate=”true” /> </conditions> <action type=”Redirect” url=”http://www.domain.com/{R:1}” /> </rule> </rules> </rewrite> </system.webServer> </configuration> Continue reading IIS web.config How to redirect domain.com to www.domain.com

Rate this:

HTML5 vs. Native Mobile Applications – Who do you Back?

Recently, we have seen a surge in the ongoing debate of whether it is best to develop mobile applications using HTML5 in some responsive framework manner or as a standalone bespoke-application. Generally, the answer is completely dependant on an individual project specification and brief although according to a recent Gartner report amongst 478 developers in North America and Europe, 22% of developers are developing hybrid apps, 24% on mobile web-applications and 41% on native app development such as iOS or Android specific applications. Consequently, the heated topic often leaves developers opting for one over the other, mostly down to personal … Continue reading HTML5 vs. Native Mobile Applications – Who do you Back?

Rate this:

How to store array in mysql?

This is one of the mostly asked question by php programmer because mysql doesn’t has any array data type. So we can not store array directly into mysql database. To do this we have to first convert array into string using php serialize() function then save it into mysql database. php code to store array in database 1 2 3 4 5 6 7 <? $array = array(“foo”, “bar”, “hello”, “world”); $conn=mysql_connect(‘localhost’, ‘mysql_user’, ‘mysql_password’); mysql_select_db(“mysql_db”,$conn); $array_string=mysql_escape_string(serialize($array)); mysql_query(“insert into table (column) values($array_string)”,$conn); ?> To retrieve array from database 1 2 3 4 5 6 7 8 9 10 <? $conn=mysql_connect(‘localhost’, ‘mysql_user’, … Continue reading How to store array in mysql?

Rate this:

How to send emails from localhost

For beginners in the field of web development, we usually find ourselves starting out with the XAMPP package to develop using PHP/MySQL. There are times that we need to send emails from our web applications using the PHP mail() function. If you have access to your ISPs SMTP server. you may configure it in your PHP configuration file. You may use phpinfo() to help you find your configuration file. (in my xampp installation it is at F:\xampp\apache\bin\php.ini) In your PHP.ini find the ff: lines and modify them using your ISPs SMTP server. In this example I am using PLDT’s SMTP server. You may surf … Continue reading How to send emails from localhost

Rate this: