Linux or Windows Web Hosting and others - html

So I'm new to the web hosting thing. My website is made with HTML and CSS. It's going to go online soon but I'm stuck at two things.
Firstly, I'm using arvixe.com for hosting. I came across Linux and Windows based web hosting. What are the differences and which one should I choose?
Secondly, my website has this section that is the same across multiple pages so I got this general file with the code called "header.html". How do I put this across multiple pages?
Please help guys. Thank you

The main Difference Between Linux and Windows is Hosting si its usually its server side language and its cost. Usually windows is more expensive than linux hosting because the Windows Server license is not free.
Windows also used ASP.NET technology and LINUX is using PHP. so, it all depends about your necessity. If you use PHP use Linux, if you ASP.NET you use Windows. But judging by your header.html, it seems you doesn't use either PHP or ASP.NET. In that case either Windows or Linux doesn't have any difference.
Regarding including header.html, you have several options, it all depends what language you are using.
Include File in ASP
Include file in PHP
Include file in jQuery
Since you doesn't use PHP or ASP, I guess you need to use option number 3. Good Luck.
Edit :
To use jQuery you need to include it first, refer to w3school. And then you need to use this code
$(document).ready(function(){
$("#somediv").load('somefile.html');
});
change 'somediv' and 'somefile' according to your needs.

Related

Webeditor for developing a modern website

I created a webpage several years ago. Back then I was using Adobe GoLive! to achieve that. But now, there is no adobe GoLive any more and I don't have a useful application for creating a web project. So what I want to achieve is: a good looking online presence for my project. I want to use the new stuff as well, like HTML5 and CSS3. I don't think that I will need beans or J2EE, because it is more about the design and not the functionality. Later on I will include the web project into my Apache server. So the question is: which tool can help me to develop a modern website, what would you advice?
Thank You
Actually I use NetBeans 8 for the following reasons:
it's very strong and containt so many features
i supports ftp
ii supports CSS3 , HTML5
iii powerful , autoComplete
it's open-Source application so it's free
it keeps the history of your files and saves all the updates so you can restore any file
situation you made before
it's easy to use.
It's a good programming tool
SECOND: I suggest using xampp instead of abache server
it actually includes abache and some other features like mysql
so it's easy to deal with it instead of dealing with many programs :)
I strongly recommend 'IUEditor'
Free license. Ownership is 2,000$, monthly license is more than 50$. But if you request startup license they offer free license.
CSS3 and HTML5 : you can use any kind of website.
Back-end support : That's only one web editor which supports backend, such as django and angularJS
Supports GIT.
I tried more than 10 web editors, but IUEditor works best.

How to convert many HTML files to MediaWiki Pages on Windows?

I'm on Windows and I have an index.html in a folder and a huge set of html pages in subfolders.
How can I convert these html files to MediaWiki pages?
Check the Converting content from HTML text file section from the manual at mediawiki.org. Personally I would start with these two, and if that doesn't work I'd build something based on pywikibot. Any of these solutions can be made to work on Windows, though it is advisable to try it on Linux or OS X first, and if not install Cygwin.
You're unlikely to find any kind of streamlined GUI tool for such a specialized action. If you need more help with using the code available there you should hire a programmer or learn how to do it yourself.

alternative to opengrok

I am using for an alternative to OpenGrok. I can't configure it properly. What I want is to browse to the code, like I would be in Visual Studio. I'd like to have a menu with a minimum option of Go To Definition, find references etc. How can that be achieved ?
I suggest to have a look at the Woboq Code Browser.
It works like a compile step and dynamically analyzes the code and how symbols are linked to each other.
Did you have problems configuring it on Windows?
OpenGrok works best through a web-server. You might find it easier to rent some cheap VPS box, and configure OpenGrok remotely on such server (instead of trying to configure it locally on a Windows box), and then use your web-browser to access the remotely-running OpenGrok instance through the web-interface.
I've once tried using OpenGrok locally on a Windows machine, and even though it worked, I was not happy that the non-web version didn't have any syntax highlighting, and was overall just way too awkward to be of any real use.
There's Text-Sherlock. And the github project. It can use either Whoosh or Xapian as its backend.
I would recommend Codatlas. It has features such as jump-to-definition and cross-reference and poly-glot support such as C/C++, Java, Python, Scala etc.

What's the alternative for hta (HTML apps)?

I have to convert a HTML application (.hta file) so that it can be executed on Linux and MAC also.
What could be the alternate ways of doing it? Should I convert to an AJAX app?
Any suggestions? OR Has anyone gone through this before?
Reagards,
/Syed
Though you have not provide the nature of application. I mean what you application does.
What I get from question is since you are using HTA application that means you application requires system level access. Now since Linux and windows are completely different platforms. It is not possible to complete port one app from one platform to another.
If you can work at the plugin level like development of flash-plugin or you can use the Adobe AIR to build your application.
I mean to say don't use Microsoft native code in you application.

creating an online windows 2003 emulator - best program to use?

i would like to produce a online windows 2003 emulator
so anyone can use windows 2003 through a browser instead of
installing the software - something similar to temulator www.temulator.com/- and zen internet emulator va.zensupport.co.uk - i have basic html & css skills
can it be done using html/css or is it better to use java/flash etc ,i am thinking of just using screenshots and then linking them together , but its very time conusming to do. what is the best programming language and BEST approach??
thank you
Neil
Which aspect of Windows do you want to simulate. Do you want to create an on-line "desktop" that looks like Windows 2003? In that case, check out whether you can customize one of the already existing Web Desktop projects like eyeOS. See the Wikipedia article on Web desktops for a list of projects.
It's going to take way more than basic HTML skills to work on a On-line desktop, so you really want to look at existing solutions unless you want to learn advanced Javascript, CSS and server-side programming from scratch.
To actually run Windows 2003 applications through an on-line interface is possible using the Remote Desktop Protocol and an appropriately configured Windows server (See the Link in Carlos's answer for a way to start a RDP session from a web browser window). However, this can't be done for free and is not unrestricted - you need to purchase the Windows OS, and user licenses for people to log on to the system.
Opening such a Terminal Server to the public is, as far as I know, forbidden my Windows 2003's license terms, extremely dangerous because of the risk of people infecting your system, and overall not worth pursuing IMO. You could do something like this with Linux because there are no license terms, but it's not a trivial matter and it's not going to run most Windows 2003 software.
You could use this:
Embedding the Remote Desktop ActiveX Control in a Web Page
For a Win2003-like GUI online: XP is close enough to Win2003.
Actual OS online: Convert VirtualBox to Java.