Sunday, June 9, 2013

Top 5 Free E-Commerce CMS

Today, e-commerce is on its way up with literally thousands of e-commerce companies coming up every year. E-commerce is a hot industry right now, and technical aspects of the e-commerce website are of great importance. Hence, selecting the best E-Commerce CMS (Content Management System) is a must for better functionality, and ease of control. Here, I'm going to list some free top E-Commerce CMSs.





1. Magento

For admins and users, this CMS has enough features to support all requirements. Multiple stores can also be managed from a single interface or dashboard of the admin.


2. OpenCart

A simple CMS, but complete with all must-have's. Also, it is an Open-Source project, hence greater support can be assured.


3. OXID e-sales

This open-source e-commerce CMS is all ready for social commerce scenarios.


4. PrestaShop

With the functionalities for price reductions, discounts, gift vouchers, etc., this is another awesome product which is also Open Source.


5. osCommerce

This simple to use, multilingual CMS supports almost most of the payment systems and is also SEO friendly. Do give it a try!



Think I missed your favorite e-Commerce CMS? Mind helping me out to help with my knowledge? :)

Saturday, May 18, 2013

Carrots, Eggs or Coffee? Which One Are YOU

A young woman went to her grandmother and told her about her life and how things were so hard for her. She did not know how she was going to make it and wanted to give up. She was tired of fighting and struggling. It seemed as one problem was solved a new one arose.

Her grandmother took her to the kitchen. She filled three pots with water. In the first, she placed carrots, in the second she placed eggs and the last she placed ground coffee beans. She let them sit and boil without saying a word.

In about twenty minutes she turned off the burners. She fished the carrots out and placed them in a bowl. She pulled the eggs out and placed them in a bowl. Then she ladled the coffee out and placed it in a bowl. Turning to her granddaughter, she asked, "Tell me what do you see?"

"Carrots, eggs, and coffee," she replied.



She brought her closer and asked her to feel the carrots. She did and noted that they got soft.She then asked her to take an egg and break it.

After pulling off the shell, she observed the hard-boiled egg.

Finally, she asked her to sip the coffee. The granddaughter smiled, as she tasted its rich aroma. The granddaughter then asked. "What's the point,grandmother?"

Her grandmother explained that each of these objects had faced the same adversity--boiling water--but each reacted differently.

The carrot went in strong, hard and unrelenting. However after being subjected to the boiling water, it softened and became weak. The egg had been fragile. Its thin outer shell had protected its liquid interior. But, after sitting through the boiling water, its inside became hardened.

The ground coffee beans were unique, however. After they were in the boiling water they had changed the water.

"Which are you?" she asked her granddaughter.

"When adversity knocks on your door, how do you respond? Are you a carrot, an egg, or a coffee bean?"

Think of this: Which am I?

Am I the carrot that seems strong, but with pain and adversity, do I wilt and become soft and lose my strength?

Am I the egg that starts with a malleable heart, but changes with the heat? Did I have a fluid spirit, but after a death, a breakup, a financial hardship or some other trial, have I become hardened and stiff?

Does my shell look the same, but on the inside am I bitter and tough with a stiff spirit and a hardened heart?

Or am I like the coffee bean? The bean actually changes the hot water, the very circumstance that brings the pain. When the water gets hot, it releases the fragrance and flavor. If you are like the bean, when things are at their worst, you get better and change the situation around you.

When the hours are the darkest and trials are their greatest do you elevate to another level?

---AUTHOR UNKNOWN —

Thursday, March 21, 2013

How to run and setup or port a PHP MySQL website to your own computer

These days, a project or a website rarely stays on one computer while under development. Yes, many exceptions will be there to this, but the need to port a webapp project to a different computer arises from time to time. I hope most of the people know how to do this and keep using the same database as on the original machine where it all started. Porting a simple website without any database requirements is just quite easy, and I'm sure there might be some people who are confused about how to port their databases and the website to another computer. There are just a few things to take care about in the whole process, and I will try my best to keep things as clear as possible. So, lets get started!!


As a sample of the project to be ported, I'm taking a PHP and MySQL based project which has been recently developed by me called 'JobSearch'. The name of the database which has been used is also 'jobsearch'. Now I have finished this project and a friend of mine needs to run it on his computer. He has got WampServer installed (See how to do it), and has received the 'jobsearch' folder containing the PHP website files along with the jobsearch.sql database file. The files received are these:



Lets start the step-by-step procedure now.


Steps

1. Copy the folder 'jobsearch' to 'C:\wamp\www' folder.

2. Open a browser, say Google Chrome, and type 'localhost' in the address bar and press enter.




3. Under Tools, navigate to 'phpMyAdmin'.

4. Click 'Databases' and in create new database, type 'jobsearch' and click Create.




5. READ NOTE FIRST BEFORE EXECUTING THIS STEP
Click on the database 'jobsearch' located in left side. In the next page, click 'Import' in the top menu. Under 'File to Import', browse to the 'jobsearch.sql' file on your hard drive and click Go at the bottom of that page. Make sure you're inside the jobsearch database and importing inside it. meaning you're using Import on that page which is shown after clicking on jobsearch database.






NOTE: If your file size is less than the default limit, the database will be imported. But in case the size is bigger than the limit, you will need to change some codes in php.ini file.
In my case, 'jobsearch.sql' is bigger than the specified limit here, so changes in php.ini file are required.

To make the changes, follow these sub-steps:

1. Go to 'C:\wamp\bin\apache\Apache2.2.21\bin' folder and open php.ini file.




2. Press Ctrl+F keys and in the search query, type 'upload_max_filesize' and click find. Change the value in front of it to 20M.




3. Again press Ctrl+F keys and type 'post_max_size'. Change the value in front of it to 25M. If error like text not found is shown, just move your curso to the beginning of the file and do the search again.




4. Now, search for 'memory_limit' by again using Ctrl+F or search feature, and change the value in front of it to 256M.




5. Now exit the WampServer by right clicking on it at the bottom-right side in taskbar and selecting Exit. Now, again start WampServer from shortcut on Desktop or start menu.


6. Left-click on WampServer in the taskbar, select MySQL and MySQL console. See the image below.




7. Type these two commands in the console as shown in above image, and press enter.


set global net_buffer_length=1000000;
set global max_allowed_packet=1000000000;


Now, there won't be any error about large sized file while importing. So you can now execute step 5. In database jobsearch, click Import in upper right menu and select the file 'jobsearch.sql' and click Go. See step 5 for details.




We've now successfully imported our MySQL database by tweaking the settings of maximum upload limits in PHP and Apache. Now, the project has been successfully ported.


Go to localhost in your browser, and click on jobsearch under projects. You're all set!
In case you have any trouble, let me know.! :)

Installing WampServer for PHP and MySQL based Webapp development

WampServer is a 'Windows web development environment', as written on its official website. If you're here by searching the web, I'm sure you already know about WampServer and its uses, and are ready to install it. In case you don't know, in short: WampServer is an environemnt for Windows based machines(where Operating System is any Windows) which is used for setting up Apache server, MySQL database, and PHP on the machine in easy quick steps. WAMP stands for Windows Apache MySQL PHP. As PHP can not be tested locally on a system (as it is a server-side language), for testing and development purposes, we need to setup our own local server which can handle PHP locally. Hence, WampServer does the job of setting up everything with one setup! Great job WampServer team! Oh and yes, WampServer also comes bundled with phpMyAdmin, which is a really useful thing for maintaining the mySQL databases.





Enough talks! Lets get started with installing WampServer 2.2 now.

Haven't you downloaded WampServer yet? Well, go ahead and do it now!


Here starts the Step-by-Step illustration: (I'm doing it on my Windows XP SP3 machine)

1. Get started with the exe file!



2. Accept the terms and bla bla, and head to next step of selecting location of wamp folder.




You can select any drive here, but I prefer to install it on other drives than the system drive (C://) because if your system gets corrupted in future, due to some virus or stuff, your hard work of PHP won't need to be formatted. Although there are many workarounds in that scenario to save, but prevention is better than cure I guess. :)


This is very much it, and you're done!!

The files that you want to open through the server should be in the 'www' folder of the 'wamp' folder. (Ohh, it rhymes!)




Open your favourite web browser, and type "localhost" in the address bar. If you can see a page like the image above this para, your installation is successful. Also, a link to phpMyAdmin is there, which as I said earlier is a great tool for interacting graphically with your database.


Thanks!