web-development

How should I wall off the dev and/or beta sites -- from the public and search engine bots?

I need dev and beta sites hosted on the same server as the production environment (let's let that fly for practical reasons). To keep things simple, I can accept the same protections in place on both dev and beta -- basically don't let it get spidered, and put something short of user names and passwords in place to prevent everyone and ...

ExtJs FormPanel - How to submit form using buttons declared inline?

I'm getting started with ExtJs. I'm building a very simple login form: Ext.onReady(function () { Ext.QuickTips.init(); // turn on validation errors beside the field globally Ext.form.Field.prototype.msgTarget = 'side'; var loginForm = new Ext.form.FormPanel({ url: '/Account/Login', monitorValid: true, ...

What would be a good language/framework pair for learning Web development?

What would be a good language/framework pair for learning Web development? I know other people have asked this very same question (for example, Learning Web Development-Choosing a Language and Framework), however, my case is a little different, since I have some additional constraints: The language the framework is written in must not ...

Obscure break in div tag

I am trying to make a div which expands to show hidden content when hovered over. However there seems to be a random space in between images inside the div, hence a premature onmouseout method call. Is there any way to get rid of this problem? Check out a live version here. ...

What does Html.HiddenFor do?

Although I have read the documentation on Html.HiddenFor, I've not grasped what is it used for... Could somebody explain its uses and give a short example? Where should those helpers go in the code? ...

Should I obtain a Mac to develop or test my iPhone web app?

I've been developing an iPhone web app on a Windows XP box using MobiOne Test Center and Safari for testing and debugging and occasionally using a real iPhone for testing. The problem is that MobiOne, Safari (desktop), and the iPhone all produce different errors. Obviously I am most concerned with the errors that occur on the iPhone, sin...

Is SQLite suitable for web site usage

I have a database of 50MB size in SQLite 3. All db objects are accessed through a web service. Is SQLite a good choice for an concurrent online usage of about 500 parallel users. NOTE: Users will use same tables but not same rows. Each user can see/update/delete only his data. ...

IIS 7 - Difference between .NET Extensibility and ASP.NET

Hey guys, in the Windows Features control panel applet, under Internet Information Services --> World Wide Web Services --> Application Development Features, there are two options: ".NET Extensibility" and "ASP.NET". What is the difference between these two options? If I'm developing simple ASP.NET web applications / services, is there ...

Run ASP.NET Development Server "virtual path" as an application

I want to run my new web application with forms authentication under the ASP.NET Development WebServer (Cassini), but not at site root "/" (rather, at the path it will reside in production; "/New"). However, the build process gives the error: "It is an error to use a section registered as allowDefinition='MachineToApplication' ...

What's the reasonable time for generating web page?

Hi there! I'm working on web app (Rails 3 based). And I really don't like the time it takes to generate the page - depending on the displayed data it takes up to 2.5 and even 4 seconds. So I just was wondering what is the average reasonable time for generating page in your apps. Saying you check the generation time, e.g. it's 750ms and...

[PHP] Resolve geographical/GPS coordinates to current local time

Hello, I am trying to resolve a location's coordinates (latitude, longitude), to an accurate current local time. For example, let's say I have a list of locations on a website. When I look at a specific location I will always know its latitude/longitude (it could be anywhere in the world). I would like to display the current time at t...

Where to begin when developing web applications for smartphones

I want to develop web applications for smartphones using jQTouch. For server side scripting, I prefer PHP and MySQL database server for back end persistence. Is there any book that helps in learning how to develop a web application for smartphones using PHP, MySQL and jQTouch? ...

Has Anyone tried PHP, MySQL and jQTouch for Smartphone Application?

I want to develop web application for Smartphones using PHP, MySQL and jQTouch. Any help? Thanks in advance ...

Set default style to table in ASP.Net

My asp.net theme has default css style. How can I set default style to all my <td> in this css style? ...

Automate deployment of web application on IIS via ASP.NET web application?

How can I deploy an web application on IIS via ASP.NET web application? So instead of creating virtual directory, converting it to a application, etc I could just automate deployment via a web application? how do I do that? EDIT: no i do not want to deploy my application via visual studio, instead I want my web application itself to d...

return different value from a before do block in sinatra

is there a way to stop execution and return a different value in a before do block in sinatra ? before do # code is here # I would like to 'return "Message"' # I would like "/home" to not get called. end // rest of the code get '/home' do end ...

Pylons - Handling GET and POST requests

Hi. What's the best way to handle form POST data in my Pylons app? I've tried: Having a seperate GET method and a POST method with a rest.restrict('post') decorator. Problem -- if there were validation errors then you can't redisplay the form with the data which the user entered because you have to redirect back to the GET method OR y...

Web Graphics newbie - Adobe Fireworks, Photoshop, or Illustrator?

All, My partner is dipping her toes into the world of web design. The goal is for her to be good specifically at web graphics and CSS/HTML. We’re not sure what the best way forward is with learning how to create high quality web graphics (icons and other web page art). There is Adobe Photoshop which is probably more relevant for media/p...

Getting Data from PAC file

Is it possible to execute the Javascript in a PAC file from a .Net windows application to return the proxy server? ...

How can I display output to a web browser AND push a file for download?

I know how to display output to a web browser (obviously) and I also know how to push a file for the client to download by setting the Content-Disposition and Content-Type headers and then pushing the file data. But I want to do both, similar to how many download pages work ("your file download will begin momentarily"). What techniqu...