web-development

Does anyone know some good resources for Wicket Web Development?

I've recently "inherited" a web project from a workmate who left to join another company. Unfortunately for us he was the only Java developer so I don't have anyone around the office here that can help me. The project is written using the Wicket framework and this is not something I'm very familiar with (I've done a lot of ASP.NET and ...

AI Programming Resources with a focus on Web Applications

I'm interested in learning some AI algorithms that have a practical use in web applications eg. search, product recommendations etc. Obviously since I'm asking this question I am look for some more entry level material. Any sort of useful stuff on the subject is good - books, blogs, tutorials, anything. My language of choice is c# so an...

CSS, why does one thing work and not another?

Hi All, Why does this work: <div style="background-color: #ccc; -moz-border-radius: 5px; -webkit-border-radius: 5px; border: 1px solid #000; padding: 10px;">testing 10,9,8,7 </div> And this does not? <div style="roundedCornerBox"> testing 10,9,8,7 </div> Where I have created a css file that says: body { bac...

What really is connection pooling?

I have heard the term connection pooling and looked for some references by googling it... But can't get the idea when to use it.... When should i consider using connection pooling? What are the advantages and disadvantagesof connection pooling? Any suggestion.... ...

How expensive is a 404(File Not Found) Error?

I have deployed my website to a production server... When inspected through firebug i found lot 404 not found errors in my requests.... Mainly from ajax libraries like scriptResource.axd files.... I saw the load time was greater for all the files which was a 404 Not Found... How expensive is a 404(File Not Found) Error? Why Timeline ...

Using hg repository as web site

This is somewhat related to my security question here. Is it a bad idea to use an hg / mercurial repository for a live website? If so, why? Furthermore, we have dev, test and production installations of our website, like dev.example.com, test.example.com and www.example.com. If it's a bad idea to use a repository for a live/production w...

What is the best suited language to process XML in a web application?

I'm planning a web application that requires a lot of XML processing: generate XML documents, validate against schemas, generate views from XSLT... For diferent reasons I've ruled out .NET and J2EE. Also, when I say 'best suited' I'm thinking of syntactic simplicity rather than performance. Any advantages in using PHP, Python, Ruby on Ra...

Would it be fair to say learning Java would make me a better PHP OOP Developer?

Would it be fair to say learning Java would make me a better PHP OOP Developer? I've been looking into Java so I can understand OOP better. Should I continue learning Java to better understand OOP or would I be better off sticking with PHP OPP. I've just learnt about interfaces and abstract classes, will I really use these in PHP? Any ad...

How to add static pages to WordPress?

Hello, Just wanted to know how do i add static html pages to WordPress? For example, let say i have page products.html, how would i add it to wordpress (any menu, etc) and once added, how do i visit them because wordpress had a typical url structure. Thanks. ...

Best Language For Cron Job?

Hi All, I realize that it can depend on certain things (and obviously how efficient the code is written); but, in general, what is the most efficient language to use in writing cron jobs? Does this simply come down to a question of what is the most efficient language period, or can the specificity of cron jobs determine one programming ...

Anything Similar To WAMP?

Hello, I would like to know if anyone out there knows about any program similar to WAMP; all-in-one containing PHP, MySQL, Apach like WAMPServer? Thanks Edit: I am targeting Windows OS. ...

Testing in IE6 from OSX: VirtualBox settings or good alternative

I'm needing to test web applications in IE6,7 from my OSX workstation. I develop and run test servers locally on my OSX system. Currently have VirtualBox running Windows XP. Question: How do I view pages in IE (the guest os) that are hosted from OSX (the host os)? From Firefox on the host (OSX) the page can be viewed at localhost:808...

How to create a proper website?

Web developing isn't what it used to be. It used to consist of hacking together a few PHP scripts (I have nothing against PHP, actually it's currently my main programming language), uploading them via FTP to some webhost and that was that. Today, things are more complicated. As I can see by looking at a number of professional and modern ...

In Django, how do I make my sessions persist through http://mydomain.com and http://www.mydomain.com?

If I set a session in mydomain.com, it doesn't work on www.mydomain.com. I'd like all subdomains, and all www, to be treated as one big thing. mydomain.com and all its subdomains should have all the session cookies of everything. Do I change this in Apache2? edit I think I found the solution: SESSION_COOKIE_DOMAIN = ".mydomain.com" ...

Any early impressions of PyCharm for Python, Django and web development?

I just discovered PyCharm, which is a Python/Django/web IDE currently in "public preview" being developed by JetBrains. Has anyone been using it for the last month it has been available, and if so, what are your impressions of it compared to other IDEs that are available such as: Komodo Wing IDE Eclipse + Pydev Aptana ...

Jetty: To embed or not to embed?

What are the benefits of embedding jetty vs deploying your webapp(s) in jetty? If you are planning on deploying more than one web app, should you strictly stick with deploying a war file for each web app (as opposed to writing an embedded server which calls each web app)? ...

On the fly tags generation for XML Builders

Hi, I have a hash like, object = { :type => 'book', :name => 'RoR', :price => 33 } OR object = { :type => 'wig', :name => 'Elvis-Style', :price => 40, :color => 'black' } The problem is that keys in above hash may be different all the time or even increase and decrease depending upon the object type. What I want to do generate XM...

draw by mouse with HTML5 Canvas

Hello guys. I want to use HTML5 Canvas to draw by mouse (ex: draw a signature, draw a name,...) Please help me how can i do? Please give some source code. Thank you ...

Framework for third-party web application extensibility

I'm interested in people's experiences and opinions about approaches to third-party extensibility in web applications and extending applications into a heterogenous corporate environment. Consider a Salesforce style application. Users want to be able to extend the Salesforce application itself and share data / functionality outside of S...

[OT a bit] Flex+JEE what is it good for?

Ok so sorry for being, I guess, a bit off topic but still I think this is the best place to ask. My new semester just started (don't worry I won't ask you to do my homework) and this time we have a rather cool subject about www programming in general where we have to do a web service, web abb - whatever as long as it's "web". Here's the ...