web-development

How to page through large amounts of historical data via a web application?

I have a web application that functions as a dashboard, allowing a user to see summaries of historical data to view trends, etc. As an extension to this, I want to allow the user to drill-down into the historical data if they so wish. What this will amount to is a table of time-value pairs, showing the time a particular data point was r...

Is client-side UI rendering via Javascript a good idea?

The "classic" approach to web development has been for some time a thin client and a thick server: the server generates HTML and spits it out for the browser to render only. But with current browsers (and also due to the availability of good libraries and frameworks) Javascript now works. Web devs can now pretty much assume that their Ja...

Linq to Entities averages within a predefined grouping

I have used linq to entities to basically create an anonymous type with properties bookId and rating which I have grouped by bookId. all I need to do is take this and form an anonymous type which groups by bookId and gives the average rating for this bookid so anonymous type results currently looklike: bookid = 1, rating = 2 bookid...

Putting Unusual Fonts into Web Pages

On a web project for a client, we want to use a type of "script" font that looks like handwriting in a few places throughout the site. The problem is that these are not typically system fonts and so we don't think we can advise the client to use them (client likes the look); they may or may not render nicely at the client. We are plann...

Writing a web application in excel? Why not?

Before you start flaming, I'm going to tell you that I am trying to convince myself that this is a bad idea. Basically, I'm trying to create a website with some basic accounting functions. My friend, a consultant who only knows excel, asked if this could be an excel spreadsheet instead of a web interface. I found myself thinking, why i...

ASP.NET: jQuery AJAX 'data' param problem

I've been having problems with this code I had spent the last 3 hours digging around and trying to find an answer. As I wasn't successful, I will just post the code and ask which kind of parameters I should have on my web service to handle this request: var args = [{ key: 'myId', value: 'myValue' }, { key: 'myOtherId', value: 'myOtherVa...

can javafx print to dot matrix printer ?

Hi, I have clients who still using dot matrix for making copies of printed documents (like invoice, reports, etc). I did a development using grails (web application) for internal company only (so it doesnt matter to install / update all java re in all computers) I am still learning (just started) Javafx. can i use this javafx to print ...

Visual Studio 2008: How to publish a website and what are the requirements ?

Visual Studio 2008: How to publish a website and what are the requirements. It’s my first time so please send me detailed instructions. ...

When to rewrite a code base from scratch

I think back to Joel Spolsky's article about never rewriting code from scratch. To sum up his argument: The code doesn't get rusty, and while it may not look pretty after many maintenance releases, if it works, it works. The end user doens't care how pretty the code is. You can read the article here: Things You Should Never Do I've ...

Helvetica or Arial as base font in CSS?

One of my friend told me "Use font family: helvetica, arial, sans-serif in your website", when I asked him why then "blank" he don't know, some usability expert in his company told him this thing. But when I tried helvetica, arial, sans-serif then I noticed that I bold and un-bold is not working properly with this font whereas I use ari...

Is my understanding correct about web APIs

Is it true that any REST based API to upload videos will always require you to have the video file on your server i.e. it is not possible to pass it directly to that web service? I am just trying to rule out all the possible APIs that are open to me. Anyone know of an API I can make use of to upload directly from the users machine so t...

How to build a 3D interactive world in a browser based application?

Hi everyone! I have a friend and he recently started to learn "Cinema 4D". He asked me if I could build him a website in which he could build a3D world, or room, using a Cinema4D file, where people could visit his work. Probably by interacting with objects. I've searched a bit in StackOverflow and I found this: http://stackoverflow.co...

Eventdriven Webframework for Python

Hy, is there any event-drive/event-based Webframework for Python? I mean something like NitroGen is for erlang. You simply get some components you add to a website (like a button) and accociate a python-function to the "onclick"-handler of the button and it gets executed. It should generate all needed html and js core for me (just as n...

Choosing a non microsoft language for web development?

I am resonably experienced with asp.net and would like to learn a new language with a focus on web development. Licensing and hosting costs are why I would like to use something not reliant on microsoft so something based on open source technologies is a plus. I have had a tiny bit of experience with php and did not like it but I guess...

How can i access my web page from remote?

Hi All, I have created a web page and have put it under Inetpub/wwwroot/Test. Now I am trying to access it from remote but unable to access it. What are possible causes and how can i resolve them ? Please someone help me out. ...

running application from visual studio in vista in port 80 gives error

I am running an web application with Visual studio 2008 with administrator mode in Vista. It runs fine when the port is set to other than 80. But it gives an error like WebDev.Webserver.exe has stopped working. I have turned of IIS default website so no other application should be using 80 port. What can be the reason and how to find ou...

How does a script fallback gracefully when Google Gears access is denied by user?

This is a two part question, if I may. First, I need to find a way to make my script to fallback gracefully when a user denies access to Google Gears. This is the way I do it now: try { var workerPool = google.gears.factory.create('beta.workerpool'); } catch (e) { this.gears_forbidden = true; return; ...

Magento: externally get relative URL's to categories.

I'm building a website, and installed Magento in the /shop/ subdirectory. I'd like to integrate the top categories into the menu of my non-Magento site, so you can navigate directly into the category. For this I need the category names and url's. Magento's categories are: Templates Color Theme General Other products I first needed...

Problem retrieving properties file from webapp in tomcat

Hi, I've developed a web application that worked fine in JBoss 4. Now, I need to make it work in Tomcat 6, but I'm having trouble to access some properties file. I use the following code to read read these files: InputStream is = Thread.currentThread().getContextClassLoader() .getResourceAsStream(fileName); if (is == null) { ...

Web development without using HTML/CSS/JavaScript

I have to write a web application, and I am not sure which technology to choose. The user interface has to look like a desktop application. From my (limited) experience with HTML, CSS and JavaScript, I know this is far from easy. What I'd like is to be able to program just like in C++, C# or Java, because I think these languages are far ...