web-development

Architecture: How to realize this web app in JEE + JSF2? [revised]

Being new to web app dev, I'm currently insecure what architecture would best work for an eCommerce web app including enduser programming where privileged endusers (managers) can declaratively define via a manager online tool (a) additional enduser roles (like customer types), (b) categorized products/services, (c) product prices in dep...

Prevent the user from making a GET request to a page

I am sorry if my question does not make any sense. So here is what I have: 2 pages, A.jsf and B.jsf. When I press a button in A.jsf, the code set the value of an object and redirect to B.jsf. Contain of B.jsf will depend on which object I set in A.jsf (which depend on which button I click). Therefore, I dont want to allow the user to typ...

Is PHP still a viable choice to build a massive app like Facebook?

Much has changed since 2003/2004 when Wordpress and Facebook were started. If you were starting Facebook today, knowing in hindsight the functionality and scale required, would you choose PHP (today)? Why or why not? If not, what would you choose as the basis for a massive, interactive, multi-facetted application like Facebook? I know t...

learn how containers work in css

I'm a programmer trying to do some patching up in web-design and generally find css very logical. So far, only 'boxing model' remains a magical land full of minotaurs and harpies for me. I'll illustrate it with examples: http://jsfiddle.net/qyMxv/ The inner element of div with padding specified goes outside of div space. Isn't div supp...

Testability areas for testing web application in SSL Environment

I have a web application that does not support SSL. Now this product is qualified and present with customers. Now i am supporting SSL Environment for the application. What are the areas that i may have to focus on to qualify the web application in SSL environment. Any potential visible differences in behaviour of the web application(l...

Ethical Dilemma: Should I still cater for IE6 as a web-developer.

Possible Duplicates: IE6: To support or not to support. Should we support IE6 anymore? I'd hate to (HATE TO) admit it, but there are some people still using this browser. A client of mine is facing an issue where the "transparency" area of a png comes out a light grey - ONLY on IE6. I know it's an unsupported browser, but ...

What jar-files needed for gilead with GWT ?

I do not find a good tutorial on integrating gilead for GWT with hibernate. I miss the step what jar files to include in my application. Background: There is some example source code at: http://code.google.com/webtoolkit/articles/using_gwt_with_hibernate.html to be found here, but I do not see that the same jars are used in the d...

Can a web server dynamically generate an executable on the fly?

Ninite.com seems to be doing it currently. I'm wondering how. While it's possible for them to have every combination of app pre-generated, it seems unlikely/hacky. [EDIT] Is compiling a Windows executable using this method resource-intensive? Can it be done ~100k times a day without exorbitant cost? I'm asking because Ninite announ...

Is "PHP In Action" still one of the best books

Hi A friend directed me to this Question "What is the best PHP programming book?" and from there suggested that "PHP in Action" is the book for me (me been a born again programmer that hasn't coded in 7 years but wants to re-code a project i got outsourced). The question i ask, "is it still one of the best books to learn php or has php...

To retain objects of a page while redirection

Hi all, i am writing a test case which causes page redirection while looping between rows in a table... Here is my code - public void dashboardprivatefunctionality() { TableBodyCollection pbody = ieinstance.Table(Find.ByClass("GridStyle1")).TableBodies; foreach (var tb in pbody) { ...

Logout: GET or POST?

This question is not about when to use GET or POST in general; it is about which is the recommended one for handling logging out of a web application. I have found plenty of information on the differences between GET and POST in the general sense, but I did not find a definite answer for this particular scenario. As a pragmatist, I'm in...

GWT: FlexTable swaping rows with Up/Down Buttons

i want to design a FlexTable programmaticaly which looks like this: http://uploadz.eu/images/v4z6gucp2gg8ql9pzj.png Since OnClick Methods can't get other Parameters then an Event and the buttons don't know "on which row they are", i can't tell the button "please swap the row, where you currently are with your buddy on top of you". I wo...

What do web designers do for your projects?

I've been working for a small company for about a year now (I'm college student and it's my first job as a developer). We work on small - medium sized web projects, team sizes are about 1 - 5 ppl, and we all work from home. I use ASP.NET MVC. I've worked on a several projects now, and I'm not impressed by what our designers delivered. M...

Using a signature for web posts

I would like to implement a signature for my web posts like this for example. Now I have the client code working nicely in objective-c, but I have to admit I am not sure how to pull out the parameters on the web side. I imagine I would start with unencrypting the string, but to get the params out I only have some basic ideas. Does any...

Sort information from a webpage

I have a webpage which has 10 separate text input spaces. I need to sort (alphabetize) the text from those input spaces (based on the first word from each input). For example, if the boxes were: cat dog apple They would need to be: apple cat dog I need to do this on the fly. What are some options for doing this? I ha...

client wants a "disaster" weather tracker on website.. possible?

Hey guys, I have a client who wants their front site to have a tracker on disaster weather like hurricanes when they occur. Essentially they want a way to manage this without getting a developer to do it everytime a new storm develops. I know there are plenty of ways to get a weather updates on website when you have a set location.. th...

Start Amazon Elastic MapReduce Job remotely?

I'm working on a small project to get myself acquainted with the Amazon web services. I'm trying to make a simple web application; when a button is pressed a mapreduce job is launched and the output is returned on the browser. What would be the best way to do this? Also, is there a way to launch an amazon elastic mapreduce job via the co...

How do browsers read and interpret CSS?

Two part question: Do browsers have a built-in CSS interpreter like they do for JavaScript? When exactly does a browser read the CSS and when does it apply the CSS? Specifically, I would like clarification on how or why JavaScript and CSS are different in that with JavaScript you need to specifically wait until window.onload so the i...

What are benefit to use doctype DTD XHTML+RDFa 1.0//EN over XHTML 1.0 Strict?

In some sites on web I noticed they are using this doctype. What is this doctype and what is the benefit of this Doctype XHTML+RDFa? <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML+RDFa 1.0//EN' 'http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd'&gt; <html xmlns='http://www.w3.org/1999/xhtml' xmlns:v="http://rdf.data-vocabulary.org/#" xml:lang='en...

What language cPanel/WHM panel server is done ?

I am planning to make an application like cPanel/WHM in perl since i never worked out my own server in perl, and i was thinking of a few points that i wanted some advices/help: cpanel and whm work on ports 2082/3 and 2086/7 to server their panel i was wondering in what language is their server done or if there is a nice module for perl...