web-development

Why place all of your Javascript code in one file?

Why place all of your Javascript code in one file? Is it possible and is it make sense to split into smaller logical file units? ...

What development environment for PHP + MySQL would you suggest

I am setting up web application development environment on my localhost. I am used to use WAMP server but I noticed Zend Server which looks promising. I am developing both Zend Framework and non framework applications. Which of these two would you suggest? Is there another option? ...

Web Application with jQuery, deployed to WS 2003 and IE not working.

I have been developing a web application on XP and FF (with occasional IE checks through IE 8), but today when I deployed it to a WS 2003 site, running IE 7, my jQuery code to dynamically size divs doesn't execute, and even stating explicit div sizes (e.g. "width: 95%") doesn't seem to work. I'm doing this via VPN and Remote Desktop, an...

Pitfalls of true client-server architecture in web applications ?

I've been researching on building web applications in a true client-server fashion. This type of architecture basically consists of : A thin server, merely a headless api that : handles security concerns processes core business logic provides data persistence A fat client, with a desktop-like design that : caches data, and ...

Suggestion/Opinion on Reverse IP look up for Anonymour proxies

Sometimes it is not possible to find if user is using Anonymous proxy. So i came up with some ideas: Get IP of client, do reverse check and check if it returns a hostname and also get number of any websites hosted on same ip then it could be a proxy connection assuming it is website hosting provider ip. Store ips of hosting providers w...

How to deploy: database, source and binary changes in 1 patch?

Hello There, I'm part of a development team that works on many CMS based projects, using systems like Joomla and Drupal. In our development process, all of our code changes are managed inside of Git. At the end of a sprint, we create a DIFF that we can apply via patch to live site. The problem is that most of the time, the changes inc...

Which subdomains should I prevent from users selecting?

Hi We're creating one of those apps which is trend-of-the-day-compliant, letting users select their own subdomain. xxx.company.com As this is becoming common, it would be good to compile a list of subdomains which should be prevented from allowing users to select either for technical/security reasons (eg :www) or etiquette (eg: sex)....

Opera Unite Javascript oddity

I am having a weird time with an Opera Unite web app I'm getting my feet wet with. I'm using the getItem() function to return data that's posted. Now that's supposed to return null if there's no such value, which works, my first conditional works when there's no POST. It even works when I post a value. What's messing up is when I pos...

Losing session data when user logs in

Hello, I have been working on a shop that is built in Python on the back of the django framework, everything was working fine until I noticed that when a user proceeds to the checkout and is requested to log in they do so and their basket empties...obvioulsy this is not a great thing for a basket to do, I was wondering what is causing...

Managing different developer's connection strings under LINQ to SQL

With my source in Subversion, I am having issues when 2 different computers have different connection strings. The LINQ to SQL designer seems to only like having the same connection string. Is it possible for the designer to use a connection string that varies since developers have different local configurations, but the actual usage i...

Storing java objects in server memory

Hi all, I got a java web project handling several objects (again containing n objects of type A (e.g. time and value) and m objects of type B (e.g. time and String array)). The web projects itself contains several servlets/jsps for visualization as well as some logic for data manipulation and currently runs on an Apache Tomcat. Is it ...

What one needs to know as a web developer?

List so far ... xHTML, CSS, XML, XSLT. JavaScript, Ajax, JSON, jQuery. A Server Side programming – C#, Asp .Net, MVC, Java, PHP, Ruby. Silverlight, Flex, RIA tools. Web server - Apache or IIS Usability, Security, Accessibility standards, Performance, Privacy. IDE, Build, Unit Testing, Deployment, Continuous Integration tools,e.g. JUnit...

What are the basic skills needed for web application development ?

I have a good understanding of C, C++ and java. I have an idea about a web app (as a self learning project) but don't know what technologies would be needed to create a web app. Also if possible include some resources that can help explain how these technologies are useful. I am trying to implement a system where sellers can post whatev...

Considering an Erlang web framework to learn and use in production

I’ve started learning Erlang a few days ago and it’s definitely a very interesting language and very suitable for web development (back end at least). I am going to experiment and eventually settle with one Erlang web framework to use for my next project. Since Erlang is “new” is kind of hard to decide which framework to use (i.e. lack o...

what are the differences in die() and exit() in PHP?

what are the differences in die() and exit() function in php, I think both have the same functionality. But i know there is something different in both.. what are they? ...

Login via cURL to Javascript Page?

Hey guys, I'm having some trouble devise a script which attempts a login to a billing portal (Freshbooks) using cURL. I've seen various examples of this online (http://www.trap17.com/index.php/automatic-login-curl%5Ft38162.html) however, none of these examples would with JavaScript. The login page seems to be based on JavaScript and jq...

Load and execution sequence of a web page?

Hi All: I did some web based projects. But I don't think too much about the load and execution sequence of an ordinary web page. But now I need to know detail. It's hard to find the result from Google or SO. So I created such a new post. a sample page is like this: <html> <head> <script src="jquery.js" type="text/javascript"></scri...

file:// urls and Internet Explorer

I have an intranet application, which for many years has made use of the file:// syntax for urls to link to resources on (hopefully) network shares. I know that uploading instead of linking, and perhaps using webDAV would be a better solution, but that is currently outside of the scope of my problem. Until very recently, accessing a fil...

Software life-cycle models for web development

I majored in a great software engineering program, and was taught the importance of process and the steps of a life-cycle model. I'm familiar with the classic "waterfall" model. Though we explored others, the waterfall does a good job of listing the possible tasks no matter how crafty or tricky your new-age model is. So it's a good st...

About Page For Internal Web Application

What do you typically include? Right now we're just thinking about the server it's hosted on and application version. What else... ...