Which scripting language and web server to use for mulltithreading - multithreading

I am new to web programming
I need to develop a web page running on a server, that needs to show progress status of 10 threads simultaneously. Also I would require SQLite database integration.
Please tell me what are the options available for me for choosing a scripting language and web server [socket] development framework.
Also suggest the most suitable.
Thanks for any help

Python would be an excellent choice. It has SQLite integrated as documented here.
Python also has the following features (and many others) integrated:
threading and synchronization
Networking (sockets)
lots of web server (and web pages, etc) handling options
Here is a page that discusses several different Python web server frameworks. Im not very familiar with it, but Ive heard lots of good things about Django.
Another excellent choice would be Ruby on Rails. Ruby is the scripting language and Rails is the Web Server Framework.

Related

First Time Developing Web-Based Geographic Information System

I'm assigned to develop web-based GIS, but I'm new with web programming. So, Where I can get an insight to start develop web-based GIS?
thank you before
regards!
You have to know about the 2 main components for web programming: front-end and back-end.
Front-end, is how the results/graphics are going to be displayed in the client (pad, monitor).
The most common tools are the javascript libraries like ArcGIS API for JavaScript, or OpenLayers.
For front-end you need to learn about html, css and javascript.
Back-end, is how you will manage the architecture (models-databases) of your project. There are many technologies to choose, for example, Java (J2EE) or .NET. For geodatabases there are systems like SQL server or PostGIS. Back-end is normally placed in the server.
In GIS you would also need a web mapping server (for sharing data, for instance), you can use GeoServer or ArcGIS for Server (commercial).
In my experience, I like to use django as back-end, this is a framework for web development using python (There are also many libraries for GIS using python which you can integrate). With django you can use a model-view-template controller to manage data to the web pages in a simple and fast way. Django has also a module called geodjango, to manage geodatabases, but not strong as GeoServer.
Start with "Requirements". To understand what requirements is, please start with a book on software engineering.
Once you have the requirements, you need to "Design" - what tools/technologies/languages to use. If you are just beginning programming, you typically get a senior to do the design
Then you get to a task, such as rendering google maps on a web page, that can be answered in something like stackoverflow.

What backend can I use to setup breeze properly on a mac?

I would like to develop an AngularJS app with Breeze. I usually use NodeJS with Express but I hear it wont work with Breeze. All the example on breezejs.com use ASP.Net but i am on a mac and you can't run visual studio... What are my options ?
We are releasing a sample later today (in breeze v1.3.0) that shows Breeze talking to an arbitrary web service that could have been written on any platform using any technology.
Obviously, we need more of these examples and as importantly we need to show server side implementations of how one might write these web servivces to best leverage Breeze. But... this is all definitely on our roadmap, and we are actively looking for partners in this process.

Switching from desktop development to web-based development

I was thinking recently about changing my main profile as a developer and I want some opinions and insights about this.
I don’t live in Silicon Valley, I’m in an eastern European country where the valley’s buzz arrives about 5 years later, if it does at all. Python, Rails, node.js is not as mainstream or “hip” at all, everything revolves around PHP, Java, .NET.
I’m not saying that we produce crappy code, there are many great developers, I’m just saying that technology-wise, we’re a little behind.
My experience is with C# desktop mainly, but I worked with PHP and Java as well, 2/3 part desktop applications. As of recently, I’m digging deep in JavaScript technologies and Python — and I really like it!
I decided that I want to shift towards web technologies primarily, involving technologies which can be transmitted to desktop area as well.
For example:
Recently I got a project which involved a desktop app. The customer doesn’t really care what technology I use, but I choose C# WinForms as I have most experience from it. However, this could be done easily with anything else and I was thinking that maybe there’s a solution for a JavaScript-based app, or something else, I don’t know.
My question is what languages do you guys suggest which can be applied to both desktop and web.
I was playing around with node.js and Python but not very familiar with the possibilities to be honest. I see the future in cloud applications and mobile development, so my decision is a strategical one.
Please omit the “if you like desktop development, stick with it”, because I like web development as well, I just want to shift to it primarily.
If you are doing app that can be done as web app, but you just want it to sit on user desktop and work without Internet connection, then you should go web development IMHO
The main challenge will be packing web server application in a way that is easy for desktop user.
There are 2 solutions I know:
Package your web application with all dependencies into single Java EE .war file, and put it on desktop with simple Tomcat web server (this can be done with JRuby/warbler).
Alternative could be to create VMware Image with web server (web server will start in server start scripts, so user needs just to start the VMware instance).

Which technology for business web application?

I am pondering on building a CRM for consulting business and am looking for best technology to build on. It will be web based with maybe a plugin that integrates with Outlook. What I don't want is to spend a lot of time doing HTML-fu and CSS-fu just to get basic grids, data entries and so on up. I don't mind picking up a new language. Preference goes to FLOSS projects. If it works with Python + 50 points :)
Projects on my mind:
Google's GWT - great ecosystem. Pity that it is in old-fashioned Java, but there's Pyjamas too!
Django - has all the nice widgets for web, but requires maintaining essentially a dual code base - backend language and front-end. Does not work with JS challenged browsers :(
Any suggestions how to quickly build and maintain web based business app are welcome.
My vote is with Adobe Flex. Some high-level advantages of flex:
Browser compatibility: any browser with a flash player will run the site (currently over 90% I believe). No need to fudge with html/css.
Data binding: the flex framework's strongest suit is dynamic scalable data binding.
Server-side technology: Flex can couple with any server-side technology for back-end operations (Java, PHP, RESTful web services, and Coldfusion to name a few)
Open source: flex is open source (however, buying the eclipse-based Flash Builder is usually a good idea)
Customization: every flex component is completely customizable and skinnable. Nice for business apps that do not want to simply look the same as everyone else.
Desktop: Using Adobe AIR Desktop Environment users can interact with the OS.

Profiling a classic ASP application using AQTime

We have developed a large number of websites using ASP (jscript flavour), talking to the underlying intelligence layer (written in Delphi) through COM. These websites are running on IIS (5 and 6).
Over the years this ASP layer has grown into something quite heavy (no business logic, but lots of controller/scenario/view/ajax/etc handling), and we'd like to do a bit of performance tuning on it. According to the creator, AQTime (we have the latest version) can be used for this purpose (profiling both the serverside script and the underlying com objects in one go), but I simply can't figure out how to get it to work.
The help files explain how to profile COM dll's, ISAPI dll's and even client-side scripting, but not a word on how to profile the server-side script running on the ASP pages. Can't select .asp files as a "profiling module". Google is not helpful either.
Any word of advice on how to accomplish this? Alternative suggestions for profiling classic asp pages is welcome, too.
Well, as it turns out, this isn't possible (according to Official Support). Of the tree layers in our application,
Delphi code running on the server
ASP code (jscript) running on the server
Client-side jscript running on the client (ajax, etc)
AQTime can only profile (1) and (3). Although it can perfectly well profile windows scripting host .js files on the server, it will not profile .asp code. Which I was really hoping it would, seeing how both are executed through the same jscript.dll.

Resources