web-development

How to manage a large project?

I've done most of my coding on smaller projects for myself and classes, and this summer ended up working on a fairly large project. For reference, I'm working on a web app using Zend Framework, and I'm working with one other person. I started working on it in May - at the time, there was a lot of code already written (pretty sloppily)...

Suggestions for Fun Web Programming Projects at Home

Given Jeff Atwoods assertion that All Programming is Web Programming, and having newly setup Apache on OSX with dynamic DNS on a home machine, what would the StackOverflow community suggest as fun programming projects to build on this, and what technologies to use? ...

How I can make Start Page for My Application Like Visual studio

Hi, everyone know the start page of Visual studio it seems to be a web page, how I can make like it in my applications? Edit, Add more details: let us say that I want to show the recently opened forms or the Tip of this day, who I can do that, where to store the data and how to generate the HTML file? ...

Best practices for (php/msql) deployment to shared hosting?

Hello there I have worked within a web development company where we had our local machines, a staging server and a a number of production servers. We worked on macs in perl and used svn to commit to stage, and perl scripts to load to production servers. Now I am working on my own project and would like to find good practices for web d...

Which one should I learn? Spring+Hibernate or Java EE?

I've been doing some Java development, and have learnt my basics. I would like to take my skill to the next level by learning frameworks that are mainstream. I hear about Spring + Hibernate all the time. Lately, there has been some talk on Java EE with EJB 3 etc. I know there is a lot of war going on, but I'm looking for an answer. I k...

Suggested permissions for website files

As the title suggests, I am curious as to the suggested file/directory permissions for HTML, CSS, Javascript, PHP, etc files on a website. Prior to today, I have never really thought about it because I used FileZilla on my Windows computer, and it seemed to take care of permissions just fine. I recently switched to Mac, and am using Cyb...

PHP vs JSP: Which Should I Learn?

I already have some knowledge in Java and I was looking to start writing scripts for web development. I was wondering if I should just learn .jsp since I already have a Java background or is PHP that much better I should take the time and learn it. I'm looking for some pros and cons for each, or just a straight out witch ones better!...

Parsing Information out of a Scraped Screen (HTML)

I'm trying to have my program "rip" news off of a website and place it on the WinForm, but my method is so dumb and redundant, I'm sure there must be a better way to do it. public void LoadLatestNews() { WebClient TheWebClient = new WebClient(); string SourceCode = TheWebClient.DownloadString("http://www.chronic-domination.com/"...

Can I send a HTTP redirect to a url with an anchor?

Is it possible to send a response with 302 status code to a url like this: http://mysite.com/something/#somethingelse ...

How do I manage large art assets appropriately in DVCS?

Is there any good way to handle large assets (i.e. 1000's of images, flash movies etc.) with a DVCS tool such as hg and git. As I see it, to clone repositories that are filled with 4 GB assets seems like an unnecessary overhead as you will be checking out the files. It seems rather cumbersome if you have source code mixed together with a...

JQuery - Parsing through classes then using an if statement to modify just one

I'm trying to apply a class to a link only if the current page equals that link. I find the current page with: var pathname = window.location.pathname.split("/")[window.location.pathname.split("/").length - 1]; This grabs the url of the page and saves whatever is after the last /, which in the case of my page is 'index.html'. Now, ...

Best way to call external api in a web page

I'm currently building a web page which require to call some system apis such as wifi apis. I will build these apis in different modules in different platoform because my web site will run in multiple platoform and browsers. I can fulfill my task by using such as java applet or activex/.net component. But that will require installation ...

World map with data display as a heat map for a web application

Are there any toolkits / libraries which can generate a world map and overlay data in a heat map sort of view (like Google's one on http://www.google.com/insights/search/#geo=&q=wimbledon+-tennis%2Cwimbledon+tennis&cmpt=q)? I would need to be able to generate and display the map locally, not via some webservice, and would need t...

Can I do a 'PUT' ajax call to a local file similarly to how 'GET' works?

Hi, If I load an HTML from file:// and in the HTML there's an AJAX 'GET' request to a relative URL, it means the URL is pointing to a file and the file is loaded. Can I have a similar behavior for 'PUT'? Meaning overwrite the file's content with the AJAX data? I need this so I can easily debug scripts without the need to setup an HT...

Can we use iPhone Mapkit Framework in a web app ?

Hi All, I am trying to develop a web app for iPhone on LBS. I am using the ASP.NET MVC to do this. Is there any way to use the Mapkit Framework provided by iPhone 3.0 in my web app ? I am waiting to find this answer .... Thanks and regards All. ...

Pushing/Migrating your local Drupal site to a live-site.

I have installed drupal on my localmachine(ubuntu, Xampp), at localhost. Path and Pathauto modules are active (a module to produce friendly URLs). Migrating/Pushing my local install to the www.mysite.com Exported SQL from phpMyadmin(localhost). Made a new DB at live site (I think a different name from the localhost-DB does not cre...

jQuery Plugin Development - passing parameters to user defined callback function

Thank you all ahead of time. This is my first time developing a jQuery plugin (and first time developing in javascript as well actually), and I have to say I'm pretty geeked (It probably has many hideous things to you seasoned js/jquery developers, but this is my first attempt - please bear with me :). I welcome any constructive criticis...

Why doesn't IE8 recognize type="application/javascript" in a script tag?

I developed an HTML page that uses jQuery and Ajax. I had the following lines in my <head> tag: <script language="javascript" type="application/javascript" src="script/jquery.js"></script> <script language="javascript" type="application/javascript"> function someFunction() { some code; } </script> ... later - down...

Eclipse Redeploy/Undeploy Web Project without Restarting the Server

In my eclipse web application I made a Web Project and a Library Project. The Web Project referenced the Library Project. When I started the Server, every time I change a code in the Library Project and build it. The server wants to restart and it does not redeploy by the Web Project only. I do not want to restart the server because it...

Uploading all files in a directory from a web client?

Over the last couple of days I've been looking for a way to upload the contents of a directory to a server via a web client. Pretty much all the file upload solutions I've seen restrict the user to selecting one file a time via a browse button. What's the { best | easiest | most popular } way to do this? I'm using ASP.NET MVC on the s...