web-development

How does ASP.NET MVC relate to WCF?

A Guide to Designing and Building RESTful Web Services with WCF 3.5, this article explains the foundations of REST and how it relates to WCF. MVC uses REST as the architectural model. I am guessing one can use the .NET MVC to create web applications that have both a front end and an API point, but I am not sure if the safe way of buildi...

Is concurrent computing important for web development?

Let's say I have a web application running on S servers with an average of C cores each. My application is processing an average of R requests at any instant. Assuming R is around 10 times larger than S * C, won't benefits from spreading the work of a request across multiple cores be minimal since each core is processing around 10 requ...

Why is the Edit code in my ASP.NET MVC application not working?

For some reason, the edit action below get to the edit view form fine, but when I hit submit on my view page to post on the second method below, the companyToEdit structure do not contain the companyID and I get an exception. This is weird since, I have done this before and I get the id field in other instances. If I put in the view ...

How to get 280slides.com functionality?

I have seen 280slides.com and it is really impresive. But its developers had to create their own language. Which platform or language would you use to have an as similar as possible functionality? Is it possible to do something similar in python? Could you give any working examples? ...

Fullstack or Glue web framework?

Working in web development we see numerous amount of web frameworks growing everyday. We also see people comparing framework X vs framework Y. But technically they all boil down to two types: fullstack or just a glue webframework. A fullstack web framework is a web framework that offers front to back framework. Django and RIFE can bee s...

Any tools for optimizing javascript?

I'm in the process of writing a jQuery plugin, and am getting into some fairly heavy operations, which is making my plugin slower and less responsive. I was wondering if there was any tools out there that would help me optimize my JavaScript? ...

What are the security risks of depending on Hidden fields in a webpage to edit db records?

I am currently building a very small/simple web application in ASP.NET MVC with ADO.NET Entity Framework. I hit the wall doing an edit of one record in the database where I had to include the unique id (primary key) inside the html as a hidden field. This was One Possible Solution based on a question I asked here. I am afraid this m...

How do I install/use Extjs extensions and plugins

Sorry for the newbie question, but how do I install or go about using an Extjs Extension or plugin I found through the extjs forums? ...

find number of nodes between two elements with jquery?

I'm having a little trouble figuring out a fast way to accomplish a (seemingly) simple task. Say I have the following html: <ul> <li>One</li> <li>Two</li> <li id='parent'> <ul> <li>Three</li> <li> <ul> <li>Four</li> <li id='child'>Five</li> </ul> </li> <li>Six</li> ...

Is it possible to use IMAP + paging?

Hi, I have a Requirement to make an IMAP client as a Web application I achieved the functionality of Sorting as: //userFolder is an Object of IMAPFolder Message[] messages = userFolder.getMessages(); Arrays.sort(messages, new Comparator<Message>() { public int compare(Message message1, Message message2) ...

Java beginner web-development toolkit/environment

I have been tasked to develop an interactive website using java & mysql: using servlets to retrieve & massage data, applets to do special handling of the data client-side, and to handle requests from the client for different data views. What would you recommend as an proper general-purpose toolkit/environment for web development using j...

Web (anchor) link to a Notes database

Hi Is there a way to create a regular web (or anchor) link that will open a Notes client and display a pre-determined database from the workplace? Thanks in advance. Ronnie ...

ASP.NET MVC - Passing redundant arguments to actions

This question may seem a little bit stackoverflow-implementation specific, but I have seen a similar pattern on other websites that are using REST-friendly URL rewriting as well. For example, a link to a particular question looks like this: http://stackoverflow.com/questions/1388703/asp-net-mvc-passing-redundant-arguments-to-actions 13...

Building an absolute URL from a relative URL in Java servlet

Hi all I'm having trouble building an absolute URL from a relative URL without resorting to String hackery... Given http://localhost:8080/myWebApp/someServlet Inside the method: public void handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { } What's the most "correc...

what are adobe air applications available for web developers?

What are free/paid adobe air applications available for Project collaboration and management Wireframe issue tracer testing color ..... ..... etc ...

Database various connections vs. one

We have this PHP application which selects a row from the database, works on it (calls an external API which uses a webservice), and then inserts a new register based on the work done. There's an AJAX display which informs the user of how many registers have been processed. The data is mostly text, so it's rather heavy data. The proce...

best practice: how to host server-side code in the maven repository

What is the best way to put javascript/html/css code in the maven repository, so that is easily usable by java projects. Is there a way to do it such that the included project can be easily made "web-visible" by the including project? For example assume I write a very useful tricks.js file an put it in the mvn repository. Is it possib...

test website compatability with IE7

Hi, I would like to see how my website renders in IE7. Unfortunately, my computer has IE8 installed, and I don't know how to downgrade to IE7. I've considered using the IE Tab Firefox plugin but reviews seem fairly mixed and I'm not sure how accurately it emulates IE7. Any other suggestions? Thanks, Don ...

how to connect mysql workbench with mamp pro?

what is the fix to connect the mysql workbench tool with the mamp pro mysql db? ...

What is everyone using for MySQL development on OS X?

What is everyone using for MySQL development on OS X? I have been using MySQL Workbench, but was wondering what fellow geeks are using? ...