web-applications

Mobile cross-browser web testing

When building websites I commonly use tools such as http://browsershots.org to ensure that my pages looks reasonably OK in the different browsers. I am however starting to get complaints about a heap of mobile browsers running on different portable devices. My question is simply how do one best carry out mobile cross-browser tests ? (an...

how can i set the video's height and width to fill the colorbox ?

hi; the video is shown in a colorbox.But this doesn't fill the colorbox.How can i solve the problem?here is the colorbox code. $(".aHelpSource").colorbox({ iframe: true, innerWidth: 700, innerHeight: 400 }); here is the code which for the video. "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' width='150%' height='150%...

How to choose the language or technology before the Application developemnt?

How to choose the language or technology before the Application developemnt? ...

Authomatic data change announcement from website without local application

Hello, I have a very interesting question (at least in my opinion). There is a website using PHP/Javascript/MySQL and users of the website want to get announcement of some data changes, like Yahoo Messenger shows you that you've got new emails, but without writing an application. Is it possible to make a feature for the website to make...

Create great web apps with little to no manual HTML? Open to suggestions

I'm a veteran of C and very new to web design altogether. I've found myself more excited about it recently so I've been researching the technology. I'm open to using just about anything, but as I look around I see the "View" component of MVC type technologies basically being written by hand as layouts of data. I want to avoid having t...

How does a (full featured) long polling server work abstractly

Since you're using an event loop as opposed to threads, how does the actual server look? I know it uses an event loop, but how do you separate out the requests? And how do you prevent your server from running extremely slowly (since it, I assume, can only push one thing at a time since it's threadless?) Some sort of pseudo-code would b...

How to display an html page at the width of the "Form sheet" modal on iPad without hard-coding the page width?

I know the width of the "Form sheet" modal on the iPad screen (540 x 620), the width of iPad screen (768 x 1024), and the width iPhone screen (320 x 480)… but when loading an html page into the "Form sheet" modal the width defaults to the device width per the viewport meta tag: <meta name="viewport" content="width=device-width"> This ...

Different set of Views for different user's roles

I am developing a rails app and I have 2 different user's role: advanced and basic. Instead of to hide links in the basic user's views (a.i. using CanCan ) I want to manage 2 different set of views: one for the advanced user and one for basic user. Currently I am working in this way: case current_operator.op_type when 'basic' ...

Web Application or WebSite, build options VS2010

I have a Solution for a webapp with a a utilities project website part all in VS 2010. Should the website part be a Web Site or Web Application? How to exclude certain folders from BUILD, but INCLUDE them in the publish? Thanks. ...

One Java EE web application with two auth-methods

Hi, I have a web-app that authenticates against a JDBC Realm. In the web.xml file I can use BASIC authentication or a custom form: <auth-method>BASIC</auth-method> <realm-name>JDBCRealm</realm-name> or <auth-method>FORM</auth-method> <form-login-config> <form-login-page>/login.html</form-login-page> <form-error-page>/error...

How to select master page for a web page in web application ( VS 2008 ) ?

I have a asp.net web application and I create a master page when i try to add new web page i can't find any option that allow me to set master page as in web site ... i just do it manually ... Is it any way to select master page during creating web page ?? EDIT :I do it manually by add MasterPageFile="~/MasterPage.master" to page tag a...

jQuery Javascript large scale application development

Hi, I have just been asked to describe the architecture for a large scale dashbaord style project that i will be working on. I have bever worked on a application of this size and am a bit lost as to what to say. Could i be pointed in the direction of any articles that may help me get started and hopefully finished. I have gleaned the...

How should you control font size on an iPhone web app (using CSS)

With both iPhone3 and iPhone4 with vastly differing dpi I'm wondering how to approach setting a base font size with an iPhone web app. Essentially, my approach will probably be to use em sizes throughout but what is the best way to set the 'base' size in the body selector. (Unfortunately, I'm still waiting on my arrival of iPhone4 so I...

Where should a Java web application store its data?

My Java web application (myapp.war) ist deployed by placing it into the webapps direcotry on Tomcat on Ubuntu 10.04. This application needs to save some data in files. But the user, which is running Tomcat (tomcat6) has no write access to the home directory /usr/share/tomcat6/ and no write access to the current working direcotry /var/li...

Should I do Win Application ?

Hi , It's a question comes to my mind all the time and So i would like to share , And know you mature programmers opinion's . Unfortunately i spent some years of my life doing Graphic (web) and suddenly i quite and start Web Programming ( because i found myself more interested in programming and because i had a base knowledge about ...

Given an element, how do I use jQuery to find out what css classes it has applied to it?

I have a function that takes an element, and then shows all the other elements that have the same class. I know how to show the elements of a give class, but I dont know how to find out what the class of the given element is. Any ideas? I've looked at the docs quite a bit, but I'm not seeing anything. ...

Connecting SqlAzure database in conventional way.

I need to know , can I connect to my Sql Azure database as we connect with our general Sql Server 8/9/10 databases, via Silverlight -WCF or ASP.Net or Winform App. My development environment is WinXP with SP3 / VS 2008 Professional. I am asking so while installing Windows Azure SDK and Toolkit i got Platform incompatibility error that i...

How to use partial in views with different alias MIME ?

Im using 2 different sets of views for 2 different user's roles. Im using register_alias : Mime::Type.register_alias "text/html", :basic in the controller: class SomeController < ApplicationController def index # … respond_to do |format| format.html # index.html.erb (advance) format.basic # index.basic.erb ...

Is it Possible to create a calendar with a repeater?

Hi, I would like to create a calendar view of some events gets from a database, Is it possible to make it with a repeater control? Or its the wrong way? Txs.. ...

Accessing Network Share Generates "Failed to start monitoring changes to '\\share' because access is denied."

I have two web applications both on the same IIS 7 box. One application is running in an app pool with .NET 2.0. The other is running in a different app pool with .NET 4. Both are running as the app pool identity and have identical settings. Each contains a virtual directory of a network share. To access the share, a username and passwor...