web-development

Development Process for Quick, Simple, Good looking freelance websites

I would like to ask those web developers who do freelance what their development process is for creating quick, simple websites for clients. The kind of sites I am referring to would be simple sites for small businesses. Maybe 4-8 pages, a contact form, simple jquery slide show, that type of thing. What development methods / process hav...

using file based URIs or not

Of course, the traditional method is to let the filesystem and your webserver work out the urls. E.G., www.example.com/index.html -> /var/www/public_html/index.html But I've noticed a trend in which, as opposed to letting the webserver do the mapping for you, you do it yourself (e.g., Rails and its routes config file, so /index is mappe...

Simulate HTTP POST (Form)?

I need to populate my database with test data. But my data needs to be manipulated to be put into the form by my PHP FORM before upload. How can I automatic the process of filling out my web application form field, which also need to accept uploading images? ...

what is the meaning of "Best viewed at 1024 X 768" ?

Hello, I am in the process of designing web-app, and would like to know what the following statement means/claims to be "Best viewed at 1024 x 768" ? Does it mean if my monitor is set to 1024 * 768 and I browse that site which claims to support this resolution , I will not get horizontal/vertical scroll bars or does it mean something e...

What is the maximum size of a cookie file?

Are there any limitations on the size of the cookie? Also, is this browser dependent? ...

SSL works without Client certificate

Hi There is something I don't understand, When I don't put certificate at all, the SSL connection is established successfully, I wonder how the server decrypt the message without client certificate. What is client side certificate is for? Thanks ...

Stack Overflow's User authentication style

I have to say, stack overflow's user authentication system is probably the best out there. I truly admire using cookies to store anonymous's identity and was planning to do something like that for my sites too (since it is so convenient). I am fluent in django and python, is that enough to build an authentication system which is based ...

Why aren't original passwords stored?

I am new to web development. Am I allowed to store users' original passwords? I know good practice is to store the hashed password using a salt, but why don't we store the original password? Is it because the database is easily hacked, so hashing protects passwords? Are there any other reasons? If not, I would like to store the origi...

How to import yahoo, gmail contacts in my JSF application

How can I import yahoo, gmail contacts in my application by giving username and password using JSF? I want to do functionality of send invitation from my application. ...

What is an appropriate page processing time for a web application?

I'm working on a web application, and it's getting to the point where I've got most of the necessary features and I'm starting to worry about execution speed. So I did some hunting around for information and I found a lot about reducing page load times by minifying CSS/JS, setting cache control headers, using separate domains for static ...

Adding a ContentPlaceHolder to site.master

Apologies for the terribly newb question. We're currently implementing Google Web Optimizer in our ASP.NET Web Application and some of the code is supposed to go in very specific places on certain pages. For example, for the "Control Page" Google has some Javascript that sits outside of the <html> tags. I know I probably don't need to p...

How to get requests per minute count within java web app

In my particular web app I need a heavy load statistics, such as "requests per minute". How to obtain this value within Servlet API based webapp? ...

Help with tricky loop logic and calculation!

I'm struggling with some looping logic where I need to generate charts which plot a member's change in height against the average height for other members at the same age. The data is structured as follows: A member can have many visits. Each visit belongs to a member (ref member_id). A visit can have more than one height entry Heights ...

How to import contact from gmail using java

Hi I am new to java web. I want to import my contacts from gmail. I donot know how to do it. How to import contacts from gmail. Thanks Sunil Kumar Sahoo ...

Why wouldn't dns_get_record show CNAMEs when I KNOW they exist?

I'm playing with DNS record lookup in PHP and am running into something confusing. I've looked up 2 different domains each using different hosts and different authoritative name servers. Both of these domains I know for certain have CNAMES. I've looked up DNS records using this online tool: http://network-tools.com/ I've also looked t...

Determine actual viewing size in browser

I am trying to determine the actual viewPORT size of the current browser window. I've tried: window.innerHeight/innerWidth document.documentElement.clientHeight/clientWidth document.body.clientHeight/clientWidth All return the full page size and NOT the viewing area. What I'm trying to ultimately achieve is forcing a popup menu to...

Using Visual Studio, SQL Server, etc Windows 7 on MacBook Pro 15" (2010 model)

Hi, I realise that there are many existing questions regarding this issue, but I haven't found any that discuss specifically shortcut keys, usability etc. Can people please give me good/bad feedback on using the above development tools on the 15" MBP (2010), with regards to the following: Shortcut keys in VS - how do they perform run...

Using rails resources (REST), how can I use a form to filter results on GET requests (i.e. /products)

Hello, I'm new to rails and having trouble figuring out how to do this RESTfully. I have a route set as map.resources :products and what I want to do is have some way to filter the results returned from the index action. For example, you go to /products which calls the index action per the resources default, then on that page there is a...

PHP: return var doesn't work when var is huge?!

so i am using PHPExcel (http://phpexcel.codeplex.com/) to import a excel sheet. everything works fine on my development system, BUT it doesn't quite work on the live system. hence i debugged and looked what could be wrong. i got to a point where i found that a method obviously returned NULL, where it should have returned an object. i lo...

how to find all the urls/ pages on mysite.com

i have a website that i now support and need to list all live pages/ url's. is there a crawler i can use to point to my homepage and have it list all the pages/url's that it finds. then i can delete any that dont make their way into this listing as they will be orphan pages/url's that have never been cleaned up? I am using DNN and want...