web-development

Selecting only text within a div tag

I'm working on a web parser using urllib. I need to be able to only save lines that lie within a certain div tag. for instance: I'm saving all text in the div "body." This means all text within the div tags will be returned. It also means if there are other divs inside of it thats fine, but as soon as I hit the parent it stops. An...

how to test aspx page behaviour when multiple requests(~50) are made simultaneously using visual studio

I have to test my asp.net web application for performance when there are simultaneous requests for the web site in my developer machine before deploy in production. how can i achieve this using Visual Studio?.(without using third party tools preferably Visual studio 2010 professional edition ...

Application call authentication

Hello, my knowledge of flash and other web technologies isn't that good, but I was wondering, how do sites with their own API for applications (e.g. Facebook) authenticate calls from an application? I'm not really familiar with Facebook API, but Vkontakte (similar site) uses a secret key, session id and method parameters to generate a qu...

How to select 12 rows of a given result set for use in DataGrid/Paging? Need to override Grid default caching.

I have a SQL query that will return over 10,000 rows. Since the client only will view 12 rows at a time, how do I alter my SQL so that I can select just the needed rows? My expectation is that I'll requery the database each time the user clicks on the grid. My solution is based on the demo below, however I'm trying to make this work w...

Cross thread access problem in ResponseCallback in Windows Phone 7

Basically, I'm getting some data from a WebService, and in the ResponseCallback I'm trying to fill an ObservableCollection with the results I got from the response, but I get an UnauthorizedAccessException "Invalid cross-thread access" when I try to do so. What would be the best way to fill said observable collection when I get the resu...

Simplest way to use mercurial to manage differences between web development and deployment?

I am using mercurial for website development. I "think" I'm using it correctly. I develop on my development machine, commit fairly regularly. I will somewhat regularly push my commits to my hosted site-dev repository. If things are set up how I want them for the live site, I push from my dev machine to the hosted site-live repository...

How to not wait to load a page while another one is not loaded

Hi, there is two files on a site. domain.com/1.asp domain.com/2.asp 1.asp takes at least 5 minutes to load (because it does too much thing) while 1.asp is doing its job, i try to open 2.asp (it monitors how 1.asp is going) but 2.asp doesnt load unless 1.asp is loaded. so how can i connect multiple files on a site i think this is abo...

Should I use heading tags in my navigation menus.

Hey Guys, Ive always wondered about this. I like to create super navigation menus. The website I am currently working on for example has a blog tab at the top, which has a drop down with latest blog posts and some other stuff. Should I use heading tags for Semantics and SEO? Here is my current structure: <li class="submenu superme...

What tools can be used to help multi-user testing

When developing a website, I often need to test scenarios like this: When user A logs in, she should see X button while user B can not And doing this kind of testing requires me to do a lot of log in and log out with different test accounts, which is by no means convenient. I wonder if there are any tool that can help me do this? ...

Y Combinator's most successful investment?

Curios to know, which of Y Combinators investments has financially been the most successful. Seems like everyone points our Reddit.com, but from what I gathered - the site wasn't really sold for all that much money. ...

Development time

Hi, Usually if there is a development task that takes 4 days, if you put 2 developers on it then it does not necessarily halve the overall development time i.e. instead of 2 days it will take a bit more than 2 days due to things like developer discussions, technical meetings, disagreements, dependencies etc. What is the "technical term"...

Is this possible of deployment of asp.net mvc application, without dll in iis ?

Hi, If I want to deploy my asp.net mvc application in iis (any version it may be) with code , means without any publishing. then is it must that its bin dir have the dll which is nameed by application name? Can I deploy application without its dll? ...

Accessing a file from URL resides somewhere on server

My website is aacessing a file resides on C: where my site is deployed. Server machine is windows machine. Tell me how can i access that file from another machine through URL. I need it to test it against my site. So no one else can access it. I have forgotten the name of this sort of hacking. ...

Any open source alternatives to balsamiq mockup

As the title reads, I'm looking for open source alternatives to balsamiq mockup for prototyping. Anyone knows of an equally good alternative that's open source or basically freeware. ...

ASP.NET app deployment mess

Hi, I have a little mess with a web application. I works in the development environment, and now I'm trying to publish it to another folder still in my own computer, so one of my colleages could try it without bother me. So I went to "Publish" in "Visual Studio", created a new "Web Application", and then I published the application ther...

Taxonomy of a website and considerations

Hi All, Please let me know is why taxonomy is important for website development? What are the important considerations for taxonomy development? Many thanks, ...

3rd party applications inside iFrames?

I am about to build a web application and I want to allow other developers extend it with their own applications. Should I do this with iFrames like Facebook? Is this a good practice? Are there other alternatives that let other developers extend my application (that is for the user it looks like it's from my application). To be speci...

Basics for creating a Wiki-like web application?

Hi folks, I need to implement wiki-like functionality within a website. Problem is that I am not fully aware of what it might require and therefore predict a long set of refactoring till I actually nail a good version. I tried looking for some guidelines, but haven't found much. Any ideas? Help would be wonderful ...

Extend XHTML with namespaces

Hi, I've seen this somewhere, but I don't remeber the page. I'd like to extend the HTML tags, so then I can add my own attributes to the HTML elements, I saw a example where the developer added a new xmlns to the page definition, so he could add new things and still be a valid XHTML. What is the name of this technique and where could ...

Create a HTML table where each TR is a FORM

Hi, I'm trying to create a table where each row is a form. I want that each input is in a different table division, but I still need that for example, all first inputs belong to the same table head and so on. What I'm trying to do is an editable grid. I dunno if I've explained myself, more or less this: <table> <tr> <form...