Opencart – Choosing a code IDE

It’s almost a guarantee that at some point you will be needing to edit some code within the Opencart framework. This is especially true if you are going to be extending the basic Opencart 2.0 layout to more of a custom theme with custom functions and procedures. Truthfully, everyone say’s that they have the best IDE. It takes a little investigating sometimes even trial’s of different ones to find which is best for you.  After all, everyone wants to be more productive, make fewer mistakes and write good code. Of course, that all depends on you, but in most cases IDE’s can help you achieve those goals more easily. Choosing the right IDE is very difficult because a lot needs to be considered. For the purpose of saving time we will just assume that you want to say create a new extension for your Opencart Store.

What is an IDE?

(Integrated Development Environment) = IDE.  There are many PHP IDE’s out there but in my opinion only a few are worth a darn. A good IDE for beginners is Adobe Dreamweaver simply because it has  a DESIGN VIEW. I would NOT recommend this personally because the tendency is to get stuck in design view where you never really learn anything. However, if you can also use the code view then I would recommend it. It’s not however even close to my #1 recommendation. This article will not explore all of the ones I feel that are the best but only one called Jet Brains PHP STORM which can be downloaded for a trial here: https://www.jetbrains.com/phpstorm/.  PHP STORM has the following to be used at your advantage:

  1.  Syntax highlighting
  2.  Code completion
  3.  Navigation
  4.  Errors and warnings highlighting
  5.  Debugging
  6.  Versioning system
  7.  Client-side features

On top of all of this PHP STORM also allows you to search very deep within the Opencart framework to see all uses of a function, or to see what class extends what.

Installing and using PHP STORM with Opencart

1) Download the trial version of PHP STORM

2) Install it on your windows or MAC

3) Make sure that you have a working copy of your Opencart store on your local machine.

4) Load up PHP STORM and start a new project by opening a directory:

screen1

5) Choose the directory and let it load up. You will then see the file tree of your Opencart install. Open up any file and see how things look in the GUI (Graphics User Interface). This is in general, what you should see:

screen2

Performing a Global Search

Sometimes you want to find an instance of a string (search term) in your entire project. Simply just go to EDIT>FIND>FIND IN PATH and choose WHOLE PROJECT. Enter your search term and press search. You can even choose a different directory and search for something outside of your project by specifying the directory to search in.

Colors, formatting, and other settings:

Perhaps you aren’t happy with the default color Schema well….they have many to choose from. You also can set up a lot of different parameters to your liking.

Syncing with server

You can choose to either sync with a live server, GIT REPOSITORY, or just save files to your local and upload them one by one to your server via FTP (file transfer protocol.)

Overall, I hope this has been informative for you. Some people just prefer to script in plain old notepad. I prefer an IDE that empowers to you maximize your efficiency.

Looking for quality OpenCart Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , | Posted under OpenCart | Leave a comment

Overview of an improved way to manage plugins in nopCommerce

A good software architecture is not just writing clean code, it also includes capability of having add-on plugins that allows developers to extend the features of a software. nopCommerce is one of those good software that follows a great architecture and allows developers to create plugins.

The latest version of nopCommerce offers an improved way to manage plugins in nopCommerce.

First we will go over the administration section where a store admin can view / manage all the plugins that are installed on the store site.

Go to: Administration > Configuration > Plugins > Local Plugins

 

Here, a store admin can filter plugins by mode (all, installed only, not installed only) and search by a load mode.

 

There is an another option in the same section that allows a store owner to filter the plugins bases on groups or category and search by a group.

 

Now, we will go over the second section in the administration area where store admin can browse all plugins directly from the nopCommerce site (section:  Extensions and themes).

Go to: Administration > Configuration > Plugins > All plugins and themes directory

This area allows a store owner to filter all the plugins as the feed is coming directly from nopCommerce.com

 

You can find a plugin by following options:
– Search by name.
– Search by version.
– Search by category.
– Search by price.

Looking for quality nopCommerce Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , | Posted under nopCommerce | Leave a comment

Comments Notification in elgg 1.9

Any user can write a comment on any content shared within Elgg. A neat feature that any CMS must have. However, if someone replies to a comment posted, you will not get a notification, which is bad since Elgg is built around social interaction. In this article I will give you a step by step guide on how to add comments notification in Elgg 1.9 Learn More

Tags: , , , , , , , , , , , , | Posted under Elgg | Leave a comment