How can Aptana help with Netsuite Client Suitescript development? - netsuite

I found my way here from the 3-years-out-of-date page at http://suitesource.netsuite.com/s.nl/it.A/id.82/.f . I have the latest eclipse, with the Aptana plugin and the NetSuiteEclipse plugin.
Just exactly what does Aptana do for me? It's not altogether clear, and it seems Netsuite may have abandoned their end of it.

By far the best environment I have found lately with regards to developing scripts for NetSuite is to just bag the instructions given by NetSuite and go with Aptana Studio 3 (not Eclipse with the Aptana plugin) and then include the NetSuite plugin to allow for direct upload into NS as Jeff mentioned. Aptana Studio is basically just Eclipse for JS and some additional cool features, like built in color themes.
The only other step you need to do (and this is not mentioned in the NS help) is to place SuiteScriptApi.js (and maybe nlapihandler.nl.js) in the root of your main project folder. The above configuration will give you code completion/definition for JavaScript in general and SuiteScript. I forget where I got the files but you can search on SuiteAnswers for them.
The help really needs to be updated to include the changes in IDE's.

The aptana plugin is not Netsuite specific it is a plugin for javascript development and provides code completion for javascript. The code completion of the netsuite objects is limited.
The netsuite plugin to Eclipse allows you to upload your suitescripts to netsuite directly from eclipse. However there are some limitations as to the path of the uploaded files that I can't remember at the moment. It did not allow me to set the paths the way I wanted so I stopped using it.

Use Suitecloud IDE.
Created from Eclipse but customized for Netsuite API.
http://elibeltran.com/suitecloud-ide/

About once a year I try Aptana and I end up uninstalling it each time- recently I tried again for my third time and uninstalled it. In my experience the code completion isn't very good, it doesn't handle complicated inheritance situations, doesn't play well with object literal notation, etc. I don't have proof and I've uninstalled it so if anyone asks me for specific examples I can't produce them.
I always end up back with Eclipse classic (3.7 I think) and JS Eclipse (which is an abandoned plugin that Adobe bought from Interakt but it still works) It's fast and has decent code completion. Is it better than Aptana? I don't think so, but it's snappier and seems to require less restarts.
I wish I had better experience with Aptana, it makes me nervous that JS Eclipse is a ghost that will disapear here at some point. I maintain over 48k lines of SuiteScript in our installation, I REALLY could use a better tool! ;)

Try Visual Studio 11.
It has much better intellisense in my opinion (as long as you configure it with any libraries such as the SuiteScript API.js). It also works well if you are already used to Visual Studio from .NET development (including SuiteTalk web services).

Not really an IDE but here is some suggestion.
Use a Google Chrome debugger. When you are in Edit mode in a record (example: customer), you can use the suitescript API to get the object-tree, very helpful in developing client-side script in Netsuite and understanding how their API works.

Related

PProPanel JSX - Basic guide to get started?

I know you can extend Adobe Premiere Pro with some simple JavaScript. The problem with that link (which I got to through the official Adobe website), is that all of sample code links are outdated (they point to the wrong location of the file, to lines that aren't correct anymore).
The second paragraph instructs you to install a bunch of things, none of which seem like things you "install", and they mention ExtendScript, which I don't understand whether is already installed with my Premiere or not (it's not available on Creative Cloud, and also the links I found on Adobe's website for it are, again, dead). I keep searching online and finding dead links to tutorials that no longer exist. Really, dead links everywhere.
I'm an experienced developer with good JS background, I just want know what I need, some simple examples of basic usage to get me started and maybe working links to some cheat-sheet I can use when I'm looking for available functions.
Extendscript is the name of the old API for automating Premiere and other Adobe apps. It's built-in and can basically do anything that you can do with the GUI, and it's javascript-based.
There is an IDE for Extendscript, the Extendscript Toolkit (ESTK) which has a debugger and allows you to inspect data etc. It's perplexingly hard to find on the Adobe website; I found it by a duckduckgo search here, I installed it through the creative cloud desktop manager, though I'm not sure how you do that with the current version.
As far as documentation goes, you're right, it's dead link city. There is a Javascript Tools Guide included with the Extendscript Toolkit, on windows it's in C:\Program Files (x86)\Adobe\Adobe ExtendScript Toolkit CC\SDK\. That covers creating UI elements, but doesn't explain Premiere's object model. AFAIK there is no official documentation for this, you have to use the ESTK data browser to look for yourself.
The CEP extensions are a new development and allow for easier integration with the host. I think you already have all the documentation there is for it. I'd advise that you pester Adobe to make it easier for developers like yourself to create tools for their users.
Here is for anyone else who gets here from a Google search: You can also go to this link to download the ESTK: https://helpx.adobe.com/download-install/kb/creative-cloud-apps-download.html

IDE support for developing OpenCart

What IDE can I use to edit OpenCart?
I dont see any specific,
I have been using Sublime and PHP storm (Prefer sublime if your system is slow else PHP Storm).
I don't think there is a specific application for developing an OpenCart website. Moreover, this question also depends on the system you use...
I currently use Eclipse, but I'm certain that softwares like Atom or Brackets can be perfectly appropriate: in my opinion, the only feature you need is a tree view to be able to manage the whole project.
I think NetBeans is very good with Opencart. Give it a try.

Recommend an IDE setup for CouchDB?

I tried experimenting with CouchDB but I find that without syntax highlighting, code completion, auto indenting, and other basic IDE features, I can't even code a Hello World.
What's the most common IDE set up, preferably integrated with eclipse?
Apache CouchDB is made up of simple components: HTTP and JSON. There are plugins for Eclipse for both of these. The largest "helper" tool you'll benefit from having is a "couchapp" publishing tool.
The "couchapp" tools take a file system directory and serialize it into a JSON "design document" for Apache CouchDB (or Cloudant) databases to use for MapReduce, _show, _list, validate_doc_update, rewrites, etc.
The best one available at this time is erica: https://github.com/benoitc/erica
You can then build your design documents with any IDE or editor, and publish them from the command line using erica.
Hope that helps, Alex.
erica is a useful tool but it's not an IDE.
I finally settled on KanapesIDE as the closest thing to what I was looking for.
It is still very basic, a far cry from something like Eclipse, but good enough for quick experiments while learning CouchDB.

Getting started with Gmail Plugin development

I would like to get into Plugin development using the Gmail API and as such I would like to ask those who already have experience in it a few questions.
What language / languages should I be familiar with? I'm not familiar with Python, PHP, or JavaScript. Will I need to pick up on these?
What level of control do I have on what my plugin can do? Can I for example change the interface or add shortcuts or RSS feeds as a sidebar?
I know a lot of the examples mentioned already exist but I would like to try my own hand at it.
Peter posted a solid list of the official Gmail APIs.
On the other hand, most of the major plugins that you may have heard about are browser plugins that just modify the page source directly, even though there's no official API for it. There used to be a GreaseMonkey API that was a good starting point, but that wasn't supported and no longer works. Best place to start is with a copy of Chrome, creating a content-injection plugin that works on the Gmail page.
Happy to provide some further details if you can clarify what you're going for since I went through this myself a few months back.

Web editor question

anybody can recommend a good web editor to me?
page created in windows should be working ok in linux as long as firefox support it, right?
1.) Here you have a list with 10 free web editors for windows:
http://webdesign.about.com/od/windowshtmleditors/tp/free-windows-editors.htm
(the first one komodo it's pretty good at least the mac version I use)
Link
2.) OS and browser doesn't matter with HTML as long as you write (W3C compliant code).
In case of CSS & JavaScript some functions have different behaviors depending on the browser.
Notepad++
Firefox isn't the only browser used on Linux (I'm currently using Chrome). Fonts are something to look out for on Linux, so it's always worth testing.
I use the Telerik editor. It is not cheap, but it is very good. My users like it.
I am assuming you mean a content editor for use on your site.
I've used TextPad in the past. I also like Eclipse.
Are you looking for an editor with Syntax Highlighting then TextPad, KomodoEdit, NotePad++ are good.
Aptana Studio is also free and also provides Intellisense for HTML and Javascript editing.
If your page is W3C compliant, then it should be rendered well in any standard browser. Don't forget your DOCTYPE declaration.
The most suitable web editor depends on what technologies you are using.
If you are using ASP .NET, then you should use Visual Studio.
For Java (JSP), Eclipse is what you want.
If you are asking about a more general web editor (html/javascript) and you are more likely to be using php or Ruby, you really need to give a try to : PSPad. I have been using it for months, and it has a lot of cool features: from basic code editing to code verification etc. And yes, it's free! You can even add to it a lot of extensions.
For interoperability between navigators, you have to test your website on many of them as you can, be careful with Internet Explorer especially, here you can find some known CSS bugs that you may encoutner while running your pages on IE.
Alors I recommand you to use special tools that can do cross-navigator testing for you, like Browsershots.

Resources