web-development

Color sampler, like firebug, but for image text

I use firebug to check colors on webpages, but sometimes the color is from an image. Is there a firefox plugin like firebug that can act as a color sampler this way? ...

Invalid Viewstate

...

From Developer to Web Developer to Web Designer

Is it possible for a fairly experienced Java Developer to transition to being a Web Developer and then to Web Designer. I guess what I'm asking is - assume you have (Java) developer of above average aptitute - is it possible for that developer to acquire web development skills that will enable him/her to develop small business websites w...

Serverside image processing

I am designing a web application that does server side image processing in real time. Processing tasks include applying different effects like grayscale, blur, oil paint, pencil sketch etc on images in various formats. I want to build it using java/servlets which I am already familiar with. I found 3 options, 1) Use pure java imaging li...

Python Equivalent to phpinfo()

Quite simply, is there a python equivalent to php's phpinfo();? If so, what is it and how do I use it (a link to a reference page would work great). ...

Real website/-application use cases where dependency injection was useful (excluding unit testing/mocks)?

In what concrete web project(s) (you don't have to name them by name of course), specifically what part of the web-application/website, that you have worked on, has dependency injection proven to be a good choice. Can you give concrete examples where you actually substituted one component for another with DI during the life span of the p...

Using Prettify on dynamically-generated code

I'm using Prettify for syntax highlighting, but it doesn't work on dynamically generated code. I have a form that when submitted generates code and displays it (without refreshing) in <div id="output></div>, but prettify doesn't work on this code, is there any workaround? Many thanks! ...

Web Development Designing Method

HI can any one tell me which web development method is currently use. and can anyone also tell me related article or any other guide for it, am working on web development project in asp.net and Sql server (Clothing Website) as it is my first project after finishing my studies and i don't have much idea, which process should i have to fo...

How to implement Session timeout in Web Server Side?

I beheld a web framework implementing in-memory session in this way. The session object is added to Cache with timeout. When the time is out, the session is removed from Cache automatically. To protect race condition, each request should acquire lock on given session object to proceed. Each request will "touch" the session in Cache to re...

Open Source/Free Social Networking SDK

I am currently gathering some technology requirements for a site that will be a social network based. I don't want to re-invent the wheel so i am looking for some type of SDK or collection of tools that can provide me with a way of creating/managing a social network. I understand that no framework will probably fit my exact needs so I ...

what basic tips should we observe in design web pages(html/css/javascript) for having highest compatibility with all browsers?

hi all what basic tips should we observe in design web pages(html/css/javascript) for having highest compatibility with most browsers(IE-firefox-opera-chrome-safari)? thanks ...

How to prevent direct access to my JSON service?

I have a JSON web service to return home markers to be displayed on my Google Map. Essentially, http://example.com calls the web service to find out the location of all map markers to display like so: http://example.com/json/?zipcode=12345 And it returns a JSON string such as: {"address": "321 Main St, Mountain View, CA, USA", ...} ...

Can I migrate session data from one browser to another? - Web Development

I need to transfer a user to a page which requires session data which is stored within a different session. Is it possible in some cases to migrate the session data by setting the session cookie on the user's browser? Currently I have no workaround, and using session data seems like the only option I have at the moment. ...

Machine restricted login access

I am working on a project that has a requirement such that login details can only be accessed from one machine at one time. For example, if I grant you access to my website and you login from your home machine, the system will store this settings in a cookie/database. Now if you try the same login details on your work machine or any oth...

WordPress: Image In Every Post

Hello, If you visit this site: http://www.catswhocode.com/blog/ You would see that there is an image and summary for each post. What is the proper way to implement that? Is this done using wordpress custom fields? Or whether this is coded in image.php file present in theme folder? How do i do that? Thanks. ...

How to restore from hotcopy backup in Trac

I have a hotcopy backup file from the trac sudo trac-admin /trac/projectname hotcopy /home/user/desktop/projctname.tracbkp How do i restore this into another project says "projectName2" ...

Open source social network

I looked through the existing questions of this kind but didn't find what I was looking for so here goes. I need an open source framework where people can... Create user accounts Invite friends Have a friends list Write messages to each other (some kind of inbox system) Create posts on a standard message forum Facebook login (Added, I ...

How to restrict access to my web service?

I have http://example.com/index.html, which from within the HTML uses JavaScript (XmlHttpRequest) to call a web services at http://example.com/json/?a=...&amp;b=... The web service returns to index.html a JSON array of information to then be displayed on index.html. Since anyone can view the source code for index.html and see how I'm c...

PHP: Does $_SERVER['HTTP_X_REQUESTED_WITH'] exist or not?

All over the Internet, included even here at StackOverlow, people state that a good way to check if a request is AJAX or not is to do the following: if (strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest' ) {...} However, I don't see $_SERVER['HTTP_X_REQUESTED_WITH'] in the official PHP documentation And when I try to d...

[JavaScript/Google API] Creating custom info windows in Google Maps

Hello, I need to create a custom look for the Google Maps info windows (straight-edge frame and transparency, etc). I understand this is only doable with an external plugin, but I am not sure which one to use. I have tried to use extInfoWindow, but I have had problems with getting it to work properly. I have also looked at PD Marker ...