web-development

finding full path with FileUpload widget in Google Web Toolkit

Is there a way that I can get full path name of a file when I open it on a web application developed by GWT? Can I open a local file on my web page? Consider this is using the FileUpload widget. ...

Asp.NET Login Control: Dealing with brackets in passwords

Hi. I'm using the standard asp:Login control, and we have a user who recently changed her password to include an angular bracket. When she tries to login, she gets an error message, and I get the standard 'dangerous request' exception. I know I can set ValidateRequest="false" on the page to negate this, but I was hoping someone knew o...

Choosing technologies for building Ajax RIA framework with scaffolding

Building decent RIA data-intensive crud-like application is still hard. In spite of existence tons of frameworks. I'm going to build my own framework for such kind of applications. One of key requirements is scaffolding (generating UI from model). Another is .NET server-side. I know about asp.net dynamic data, oracle ADF, fornax/sculpt...

Google/Yahoo alternatives to geocoding?

Does anyone know of a good and accurate alternative web API for geocoding an address that is not Google or Yahoo? I want to input an address/city/state/zip and have it return to me the latitude and longitude. Ideally, I would involve it via a simple HTTP GET, e.g. http://example.com/?location=123 Main St, New York, NY and it would r...

How can I encapsulate a casual window (of X.org, Win32, Java Swing or SWT, etc) in web page element?

I seek to show a specific window (not a whole desktop) of an application running on a remote Windows of Linux desktop in an element on a web page. I suppose this can be done by means of some binary plugin or a Java applet (like VNC client applet show the whole desktop inside a browser). Any suggestions? ...

Mongrel problem : same url, different responses

Hello guys ! I am coding a little app in order to learn ruby and web development in general. The app is a little blog and the web server is mongrel. I have set up a simple MVC structure on top of mongrel, with a front controller and a url dispatcher. When I go to the url http://myapp/article/show/hello for the first time, the content of ...

Centering the Navigation bar

hey guys, I have a standard nav bar with an unordered list and using sprites. Im also using jquery to render some animation. Everything works fine. I have a problem with centering the bar. It is aligned to the left. I've tried using text-align:center but this doesnt work. I think there are conflicting properties. Could u guys please help...

An opinionated web framework on top of ASP .NET MVC

By opinionated I mean that the framework will lock you to follow certain conventions or technologies or architectures. Something similar to Rails or Django. This will make building deeply-integrated plugins possible. One of the major advantages of using Rails/Django is the gems/plugins. As you know, you'll find a gem for everything: adm...

Language-independent tutorial or book on web-apps

Is there any language-independent tutorial or book for developing web applications? For example implementation of login procedures, photo-gallery making etc, not focused on any particular language? ...

Questions about HTML5 audio

<audio src="http://upload.wikimedia.org/wikipedia/commons/8/82/Riddle_song.ogg"&gt;&lt;/audio&gt; <ul id="lyrics"> <li>line 1</li> <li>line 2</li> <li>line 3</li> <li>and so on...</li> </ul><!-- end #lyrics --> So I want to: Highlight (change color or background) of the line that is being played. Save current time to...

Streamline and make form/crud operations more efficient in web applications?

Hi everybody, When looking back at last weeks work (identical to many others), I've found myself spending the major part of my time putting together forms of which POST-data are used to perform database CRUD operations through my MVC-models. When reflecting over this, it becomes a bit worrying. It's not really appropriate to spend the ...

Google Maps: Why should I load my InfoWindow via AJAX?

I stumped upon the following Google example page of loading my map marker InfoWindow using AJAX, instead of preloading the InfoWindow ahead of time. http://gmaps-utility-library-dev.googlecode.com/svn/tags/extinfowindow/1.2/examples/ajaxContent_packed.html However, I don't understand the use case for why someone would want to do this? ...

Using JQuery to dynamically resize a 2-column HTML page causes infinite cycle on IE6.5

I am writing a web page that has a vertical menu bar on the left hand side and a main content pane on the right. I used CSS floats to accomplish this, but when the page is resized, the content can get "pushed under" the menu. To correct this, I used jQuery to dynamically resize the content pane, and it seemed to work well in FF3, Chrom...

Is there a way to display a single country in Google map? It should be only one country, not parts from other countries included

I need to display only a single country in google map. I need to display only one country and the parts of other countries should not be there.. for example if I want to display U.K. it should display only UK and sea around, no parts from other countries should be visible. Is there a Google API call or any other method? I couldn't find ...

Create a single use link

I'm writing a database front end for a website. Next to the records I want to include a link likes this: Record 1 - [Add][1] [Edit][2] [Delete][3] But I want to protect these links from being used more than once. My thinking is to pass a hash value then store a list of valid HASH values in a table somewhere and only process request...

General guidelines for developing a web application

As a programmer used to developing native applications, I'm expanding my horizons and developing my first web app. I'm intermediate to expert with Linux and C, intermediate with Python and HTML and beginner to intermediate with MySQL and Java. I'm developing a web app that is more or less a resource allocator for a friend of mine. To pu...

Convert this .htaccess cache to nginx rewrite rules

Hey, I'm looking for getting this .htaccess file converted to NginX rewrite rules. It's generated by the wordpress-plugin version of CSS-JS-Booster Any help would be greatly appreciated :) #CSS-JS-Booster Start################################################# #Turn ETagging off FileETag none #Turn ETagging on for MHTML-file <FilesMatc...

How to make a "plugin" comment system

i am wondering how are plugins like Disqus developed. they are like tagged to a URL (but abit more advanced, as they have to work with say different query strings, server side language, use of short urls etc). i want to ask this as i feel that it is a good idea to keep separate functionality like comments/ratings/reviews in separate co...

Git workflow for custom css files and themes

Hi, I have a web app under source control in git. I have different css files for different customers as well as images and other theme specific things. And also custom reports... Beside the theme things every other aspect of the app stays the same. What would be a recommended way to keep the app as well as the theme information under so...

How do I make an image an anchor in CodeIgniter?

I have read other threads on how to do this and they do not work for me. Can someone tell me how to make an image a anchor in CI? I have tried these: <li><?php echo anchor("Home",img("../application/images/Home_up.png")); ?></li> and <li><?php echo anchor("Home",img("src"=>"../application/images/Home_up.png")); ?></li> ...