web-development

Web OS final year project

Hi guys. i m a final year student and planning for my project. i have given my thought on devoloping a web operating system using HTML,JS,CSS with linux support. Do provide me some suggation and tutorial or sourcecodes(if any) thank u. ...

Is it worth it to gzip js files?

On modern browsers and computers,, is it better to gzip files to save network traffic or to not gzip them which seems like it would save browser CPU? ...

configuration settings in asp.net

We have a static html/webform site, the site lacks search functionality, I was able to get yahoo BOSS (Build your Own Search Service) after a few hours yesterday, i got it working (still working on adding missing features like pagination) , I was wondering about the configuration options of the class, as I have a BossSearch.cs in App_Cod...

Stream the audio of Flash video only

Hi. Is it possible to have a Flash player that only plays the AAC audio of Flash video (FLV file)? In other words, we need the video muted and only play the audio. ...

How can we effectively version a large web application consisting of multiple sub-applications?

I'm part of a team that operates a portal for our company. There are ~200 small, what we call applications, inside of the portal. One may be to submit receipts, another to submit a timesheet, another to see activities going on, etc. Each of these applications is fairly separate from the others, so we've created individual trunk/branch...

How many files can a windows server 2008 r2 directory safely hold?

How many files can a windows server 2008 r2 directory safely hold? I'm thinking in terms of a website that has image galleries. Say there is one directory that holds all the thumbnails and a different directory that holds the full size images. How many pairs of images can be safely stored? Or, if there isn't a good cut-and-dry answer, ...

Nice stylesheet for displaying code in HTML?

I'd like to display snippets of programming language code, and also HTML code, inside an HTML document using CSS. I want it to be indented and in fixed-width font... I'm thinking of something like: <blockquote style="some_style"> my code here my code here also </blockquote> and have it appear in a nicely formatted way (bonus if it's c...

Console/Terminal in the Browser ?

Hi there , i am just curious about one thing. Why isn't there something like an console in the Browser ? I mean such as an -tag or something like that. This would enhance Web experience by far ( at least for developers ) :D It should be (tecnically) possible. here are some examples : http://uni.xkcd.com/ ( this is exactly what i mean...

Web debug: tracking GET source

I'm trying to fix a long standing bug in our rich GUI web app. It is a GET being executed out of place without query string parameters, causing uncaught exception on the business layer on the server due to missing parameters, returned as an error page. Environment: jQuery (UI) + DWR (allow Java and JS to call each other through AJAX) + ...

Can I reliably figure out the correct mime type to serve untrusted content?

Say I let users upload files to my server, and I let users download them. I'd like to set the mime type to something other than just application/octet-stream, so that if the browser can just open them, it does (say, for images, pdf files, plain text files, etc.) Of course, since the files are uploaded by users, I can't trust the file e...

Alternative to base64_encode

Are there any other encoding functions other than base64_encode for encoding text in PHP? Edit: The purpose of the encoding functions: To generate a string that can be used in a URL that can be used as an identifier. For example, instead of http://www.something.com/?id=4&amp;category=books&amp;type=20 I would like to have: http://w...

Parallel data loading to increase site performance

I have been reading Steve Souders and others and blogs about increase site performance. My previous question about introducing Queues was also part of it to increase my site performance. Apart from header compression,CSS/JS minifying and their positions, one thing I read about loading resources from different subdomains. One of the exam...

Troubles installing OMNet++ Couldn't reserve space for cygwin's heap win32 error 6

How can I solve this? I'm reading the installtion guide at http://omnetpp.org/doc/omnetpp41/InstallGuide.pdf I'm working on Windows XP m.AllocationBase 0x0, m.BaseAddress 0x715A0000, m.RegionSize 0x480000, m.State 0 x10000 C:\omnetpp\msys\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x715A 0000 <0xC90000>) in child, Win32 ...

how to create a login module

i have to create a login module (The question is not language specific) but i am not sure how will i validate the user. Where and how will i store the passwords. Will i have to encrypt and decrypt my passwords and if yes what are the best suggested way to do them. Overall i need to know what all things i need to take care of for developi...

Ajax methods - which is better?

I have a bunch of insert, update, and delete operations I need to execute via Ajax. Which of the following would be a better approach? Individual methods for each function (e.g. delete_foo, insert_foo, update_foo, delete_bar, insert_bar, update_bar, etc.) A "master" method and just pass a parameter to distinguish between operations. ...

Web dev equivalent of Project Euler

Project Euler is a site with general algorithmic challenges that can be a part of just about any software but is there any challenges that focus on the overall end result of web apps? It should be compatible with just about any web framework in a similar way that project Euler can be done in any language. ...

how to add dynamic math to webpage

Hi, I'm a math teacher wanting to insert some dynamic math into a website. What I'd like to achieve is to have a button that a student can press to randomly vary a question so that it's the same type of question, but with different numbers. For example, Factor the quadratic expression of the form ax^2 + bx + c, where a = 1, and b and c ...

OAuth : help me understanding OAuth

OAuth like google OAuth. Let's put the communication between Consumer server and OAuth server aside. Let's talk about the browser side and consumer server communication, at least, browser must hold a cookie to identify the session between consumer server. Right? But, I didn't see it. ...

PHP preg_replace not working

Hello there. okay so i got a script that removes "_" and replaces it with a space " " and it does not work i even used ereg_replace and eregi_replace none worked yet it works backwards( " ","_") thanks a lot here is the script: $namefixed = preg_replace("/_/", " ", $name); and even $namefixed = preg_replace("_", " ", $name); ...

What resources to be followed for building a web start up ?

I would like to know what are the best of the books or resourceful links available to help me in building a web start up . The books from monetizing to keeping the code clean , and also helping me in search engine optimization . ...