Web editor question - web

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.

Related

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.

Development environments for google-chrome-extension

Currently I am coding my google-chrome-extensions using a combination of notepad and the chrome console. I am 100% sure that there is a better way of programming these extensions. What environments are people using?
I'm using Notepad++ which works beautifully.
You might consider trying the crossrider beta to build cross-browser extensions. I've found the experience on Chrome superb so far.
Your preferred IDE (eg. NetBeans) and Google Chrome (you have to test on something, right?).
You might want to check:
NetBean 7.0 (They have a great version for web development that let you write HTML,CSS and JS with all the great code sniff/highlight/complete stuff)
Eclipse got some good version for web dev (PDT and others).
Notepad++ , UltraEdit, TextPad or any other good editor you like.
As for the debug, profile and test mode - you have the developers tool in Chrome that are excellent. You might want to check out this short video that give lots of useful tips:
http://www.youtube.com/watch?v=nOEw9iiopwI
Good luck!

How to build an shipable, "local", branded mini-browser

Since I don't really have a good idea for word to search with myself I’d like to ask you:
Is there some project, technology, w/e that enables you to build a 'browser' with a very slim ui. Just some CI and a customised "starting page".
I'm thinking of something like the Webkit engine (and interface) Valve/Steam uses for it's clients store page.
In what direction should I search for something like that ? How would one start implement something like that ?
Answers to questions:
We need this to provide something like a "Kiosk" application (for touchscreens) and shippable to our Customers. Running a browser in "full screen" is a temporary solution.
As of Platforms: Windows is absolutely sufficient for now, but Mac/Linux wouldn't hurt.
Prism looks nice so far but lacks the "shippable" part, e.g. I see no way of packaging it.
Take a look at Mozilla Prism. It's a "UI-Less" version of the Mozilla/Gecko rendering engine aimed at deploying web apps on the Desktop. It's also multi-platform. It might be fairly close to what you need, with comparably little work.
WebKit has bindings for many languages, is cross-platform, and is full-featured as a HTML engine. A bit of work capturing signals and calling functions will make it into any kind of web browser you like.
You could use Adobe Air, follow this tutorial and include your website within an iframe. That would allow you to build an executable you can ship to your customer.
Various graphics toolkit libraries contain some components which can display a limited amount of HTML. I've seen this in qt (a C++ GUI library) and in Java Swing, and have indeed built a tiny "browser" in Java within a couple of hours. Java Swing lets you attach a link listener so links can be made clickable and thereby jump to different URLs. Thus, my application could be made to work as a very limited browser.
This approach lets you display text, images and links; in the case of Java, there's even fairly good support for CSS styling. However, there's no simple way to make buttons and form fields work, and of course no support for manipulating the DOM or anything else done in JavaScript.

Running C# app inside browser as a plugin

I have a small 2D game engine written in C#, using DirectX. Is it possible to somehow run it in a browser as a plugin? Like for example Flash and others, where you go to a site with a game and it will ask you to install a certain plugin and then you can play the game in the browser, with mouse and keyboard input.
I have searched around for hours and I still don't know what I'm looking for. I have so far primarily focused on Internet Explorer, but there are plugins, addons, extensions, etc I don't know what I need really.
Yes I think it is possible.
For example, I have an HTML page which includes an element like this:
<object id="simpleControl1"
classid="http:RenderTextProject5.dll#RenderTextProject.ScrollableControl"
height="300"
width="300">
</object>
The 'classid' attribute value has the following meaning/syntax:
RenderTextProject5.dll is the filename of a compiled .NET assembly
RenderTextProject.ScrollableControl is the qualified name (namespace plus classname) of a class which subclasses System.Windows.Forms.Control
I can then see the control being rendered in the browser.
I'm using IE (IE8, but it used to work with IE6 too), and I have the .NET framework installed on my machine (but I think I needn't have the RenderTextProject5 assembly installed on the client machine).
There may be some other caveats too (e.g. I needed to run in the Intranet security zone).
See Return of the Rich Client: Code Access Security and Distribution Features in .NET Enhance Client-Side Apps.
Look for Silverlight.. It is maybe not exactly what you need but it is a browser plugin capable of running C# code ;)
There is a relatively new plugin called Unity. It is a bit more complex, as it is a dev/3D authoring environment on its own, but uses C# as its language as far as I know. However I don't know if pure 2D programming is possible (well, may be worked around using ortho 3d?).
The basic version is free to download recently, maybe worth a check.
It is possible to run C# applications in a web browser without using plugins. For example, C# applications can be compiled into JavaScript applications using JSIL.

Using ActiveX objects in Javascript in Linux (in Firefox)

It's not quite a "programming" question, but I hope its related closely enough.
Do you know if it is possible to configure the browser in Linux (e.g. Firefox) to use Wine to create ActiveX objects? I would like to handle web pages that use:
var xmlDocument = new ActiveXObject( Msxml2.DOMDocument.4.0 )
etc. in Javascript.
I think you can only do that in Internet Explorer on Wine
ActiveXObject is part of the Windows Script host, and not available in Linux unless you can use Wine to install it.
As a side issue, the actual ActiveXObject is an instance of a windows application, and not generally available in Linux (especially not the MS Office suite).
Links:
Windows Scripting Host
Wine
Edit: Had Wine confused with Mono. Fixed now.
If you just want an xml document you can do that via standard javascript. Their is no need for ActiveX. Simply ask the document to parse the xml for you. Have a look on Mozilla Developers Centre. They have very good JS docs.
On another note, if you want cross browser web pages steer clear of ActiveX. Especailly with all its security holes.
you can see flash in firefox of linux. try used flash.

Resources