Community Forums

Development Environment for developing OpenCart

Coding & concept discussion for OpenCart v1.x development

Re: Development Environment for developing OpenCart

Postby Qphoria » Sun May 29, 2011 2:42 pm

Good to know :)
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18213
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Development Environment for developing OpenCart

Postby bruno.arruda » Fri Feb 10, 2012 9:42 pm

I have the same issue with PDT and Codelobster, I am able to debug index.php but unable to debug a controller for instance, could someone please help with this "issue"? Any instructions??

It is very important to me to debug cause it also helps to understande some parts of the code...

Thanks in advance,

Best Regards
bruno.arruda
 
Posts: 9
Joined: Fri Nov 04, 2011 10:00 pm

Re: Development Environment for developing OpenCart

Postby Qphoria » Sat Feb 11, 2012 2:25 am

The only debugger i found to be any good is phped.
phpdesigner and codelobster were both flaky when it came to debugging.
phped is pricey but totally worth it and works perfectly with opencart and all other scripts I've tried with it.
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18213
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Development Environment for developing OpenCart

Postby madimar » Sun Feb 12, 2012 8:08 am

I didn't try phped, but I've been working and debugging fine with codelobster for one year up to now.
Also the debugger set up was really easy (with respect to eclipse, I wasn't able to set up in one week!!!)
M

Sent from my Desire HD using Tapatalk
User avatar
madimar
 
Posts: 999
Joined: Thu Sep 24, 2009 10:27 am

Re: Development Environment for developing OpenCart

Postby bruno.arruda » Mon Feb 13, 2012 3:57 pm

with codelobster and eclipse, if I put a breakpoint at the controller the debug doesnt stop at, just at the index it works, the same for eclipse ...

dont know what Im doing wrong...
bruno.arruda
 
Posts: 9
Joined: Fri Nov 04, 2011 10:00 pm

Re: Development Environment for developing OpenCart

Postby Qphoria » Mon Feb 13, 2012 4:17 pm

bruno.arruda wrote:with codelobster and eclipse, if I put a breakpoint at the controller the debug doesnt stop at, just at the index it works, the same for eclipse ...

dont know what Im doing wrong...


Same here.. it worked on the first file but none of the controllers for me in codelobster
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18213
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Development Environment for developing OpenCart

Postby bruno.arruda » Mon Feb 13, 2012 6:53 pm

Tried the PHPed too, I think I got the same problem, but the trial has a LIMIT for 50 debug sessions :O

So the program closed at my screen..

Very disapointing..

I´m very frustrated with this whole issue...
bruno.arruda
 
Posts: 9
Joined: Fri Nov 04, 2011 10:00 pm

Re: Development Environment for developing OpenCart

Postby MrSmileyJr » Thu Jan 24, 2013 9:41 pm

2 years later... have any recommendations of yours changed (all those who recommended...) :-)
Never lose data again! Use Dropbox - DO THIS BEFORE YOU SIGNUP for Extra Space!!
http://db.tt/inKP3mv Signing up via this link gives you a bonus of 256 MB
More Bonuses: http://www.dropbox.com/free .5 GB
http://www.dropbox.com/edu = double your bonus referrals by giving an edu address.
Total ~ 3gb
MrSmileyJr
 
Posts: 38
Joined: Thu Mar 10, 2011 9:07 pm

Re: Development Environment for developing OpenCart

Postby madimar » Thu Jan 24, 2013 11:36 pm

Still working fine with wamp, free codelobster and notepad++
User avatar
madimar
 
Posts: 999
Joined: Thu Sep 24, 2009 10:27 am

Re: Development Environment for developing OpenCart

Postby rph » Thu Jan 24, 2013 11:39 pm

I'll just chime in with what I'm using now which is AMPPS for the dev environment with Notepad++ for simple work and Netbeans for more complex development (Netbeans can be a bit of a resource hog but the price is right).

I've seen a lot of people swear by PHPStorm but I've found setting up Xdebug to be a real hassle so I've never properly tested it myself.

For looking at changes between OpenCart versions I use Beyond Compare. The PHP syntax highlighting is a bit sucky but otherwise a license is worth every penny.
-Ryan
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
User avatar
rph
 
Posts: 2726
Joined: Thu Jan 07, 2010 9:05 pm
Location: Lincoln, Nebraska

Development Environment for developing OpenCart

Postby madimar » Fri Jan 25, 2013 6:39 am

rph wrote:For looking at changes between OpenCart versions I use Beyond Compare. The PHP syntax highlighting is a bit sucky but otherwise a license is worth every penny.


I've been using WinMerge for file compare but this Beyond Compare sounds really interesting.
Do you have standard or pro version?

M


Sent from my iPad using Tapatalk
User avatar
madimar
 
Posts: 999
Joined: Thu Sep 24, 2009 10:27 am

Re: Development Environment for developing OpenCart

Postby rph » Fri Jan 25, 2013 8:23 am

I have Pro. It's a one-time cost so I figured an extra $20 is no big deal plus I believe I found a coupon.

I'd definitely suggest trying out the demo. It lasts ages as you only use a day of your 30-day demo period if you actually open Beyond Compare up.
-Ryan
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
User avatar
rph
 
Posts: 2726
Joined: Thu Jan 07, 2010 9:05 pm
Location: Lincoln, Nebraska

Re: Development Environment for developing OpenCart

Postby Nirus » Fri Apr 19, 2013 3:49 pm

I am using NetBeans with xdebug configured. Its totally rocking for opencart. Very comfortable...

Steps:
-install Netbeans php version
-Install xampp
-do opencart installation as per the documentation says
-Import the xampp/htdocs/*Opencart installation* directory as PHP project in netbeans(Google how to import exsisting php proj in netbeans if u dont know how to)
-open xampp/php/php.ini
-find string "[XDebug]"
Paste the below:

zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
xdebug.profiler_enable = 1
xdebug.idekey="netbeans-xdebug"
xdebug.remote_handler=dbgp
xdebug.remote_enable=on
xdebug.remote_port=9000
xdebug.remote_host = "127.0.0.1"

-Goto netbeans->debug->Attachdebugger-> change Port number: 9000
-Restart Xampp Server
-Place Breakpoints anywhere in your project
-now click on your imported project->select debug

Boom!!!! Work is on...

Note: if you still didnt figure it out how to , browse xdebug configuration in google..
Last edited by Nirus on Sat Apr 20, 2013 4:55 pm, edited 1 time in total.
Nirus
 
Posts: 5
Joined: Mon Jan 21, 2013 6:09 pm

Re: Development Environment for developing OpenCart

Postby Qphoria » Fri Apr 19, 2013 6:35 pm

- I still swear by NuSphere PhpED (uses Dbg)
- Using usbwebserver as my local development server as its all localized storage so I can keep it on dropbox and work from anywhere.
- Notepad++ for quick editing

I've tried a few others, codelobster, phpadvanced, eclipse with XDebug... I could never get XDebug to work right. PHPed is the only one that I can consistently get to work throughout the entire run process.. even with ajax callbacks
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18213
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Development Environment for developing OpenCart

Postby rph » Fri Apr 19, 2013 8:49 pm

The Xdebug website will give you tailored instructions on getting it up and running just by pasting in your phpinfo() here.
-Ryan
VQMod Manager: FREE extension to fully manage your VQMods from Admin!
Admin Enhancement Suite: Powerful Admin features and enhancements
Dependent Options: Option values displayed based on customer input
Catalog Mode: Disable "Add to Cart" and display your store in view-only
Unofficial OpenCart Wiki | Commercial Support and Development
User avatar
rph
 
Posts: 2726
Joined: Thu Jan 07, 2010 9:05 pm
Location: Lincoln, Nebraska

Re: Development Environment for developing OpenCart

Postby Nirus » Sat Apr 20, 2013 5:03 pm

but NuSphere Phped and DBG are paid.. its not free... If u are looking for free no cost setup go with Netbeans PHP and Xdebug..

NetBeans comes with Apache or Glassfish servers .. easy to setup. Run it from Netbeans.. and run PHP apps.. Good intellisense for code suggestions, Documentation support. Loads of stuff come bundled... Refer the above post for the env setup

Good choice for open source progies.. Hopefully this post helps you!! Keep coding Make OpenCart the best..

The best ecommerce framework - opencart O0
Nirus
 
Posts: 5
Joined: Mon Jan 21, 2013 6:09 pm

Development Environment for developing OpenCart

Postby madimar » Sun Apr 21, 2013 6:44 am

I've been using for years: wamp, codelobster, notepad++ on windows environment. Everything installed on Dropbox. Easy setup, perfectly fits my needs. Finally it is a free solution.
M


Sent from my iPhone using Tapatalk
User avatar
madimar
 
Posts: 999
Joined: Thu Sep 24, 2009 10:27 am

Re: Development Environment for developing OpenCart

Postby Qphoria » Sun Apr 21, 2013 7:30 pm

madimar wrote:I've been using for years: wamp, codelobster, notepad++ on windows environment. Everything installed on Dropbox. Easy setup, perfectly fits my needs. Finally it is a free solution.
M


Sent from my iPhone using Tapatalk


And you can debug with codelobster on more than the index.php file?
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18213
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

R: Development Environment for developing OpenCart

Postby madimar » Tue Apr 23, 2013 5:19 am

Yes, sure!
M

Sent from my DesireHD.
User avatar
madimar
 
Posts: 999
Joined: Thu Sep 24, 2009 10:27 am

Re: R: Development Environment for developing OpenCart

Postby Qphoria » Tue Apr 23, 2013 1:46 pm

madimar wrote:Yes, sure!
M

Sent from my DesireHD.


I'll have to try this again then.
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18213
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

PreviousNext

Return to Concepts

Who is online

Users browsing this forum: No registered users and 6 guests

Hosted by Arvixe Web Hosting