web-development

Web programming tutorial

Hi, I'm a programmer with some experience working on various languages and platforms, but I lack any web development experience (apart of some very basic HTML produced by PHP). I'm looking for a tutorial about the basics of web programming under Linux. I am less interested with apache configuration and server maintenance which I know q...

From a development standpoint, what are the advantages/disadvantages of the major Content Management Systems?

I'm interested in using a CMS instead of building a website from scratch. However, as a software engineer, if I'm going to be using open-source tools, I'm going to use them to their full extent, including the possibility of developing plugins/extensions/modules and maybe even contributing core code. I'm currently looking at WordPress, D...

Div not expanding proportional to content

I'm converting a bunch of tables into divs, the layout itself is very simple and so far it works great in both ie and ffx. BUT, when the content of a div doesn't fit then it grows out of it, and pushes everything after it down...in other works, makes a mess The layout is like this, <div class="wrapper"> <div class="left">picture</d...

study roadmap for newcomer into java ee

I'm the newcomer into java ee,I have studied about core jave,servlet,jsp. Could anyone give me some suggestion(some books,forums,etc) on how to promote my skills into jave ee? Thanks a lot in advance. ...

How do you draw the line between "Agile Development" and "Scope Creep"?

In an iterative development environment, such as an agile one, how do you draw the line between a regular iteration and the beginnings of scope creep? At what point do you tell the client that, "No, we can not do that change, because of ?" ...

Why would I put an ID on a script tag?

I've noticed that some web developers put IDs on scripts tags. For example: <script id="scripty" src="something.js" type="text/javascript"></script> I know that according the W3C this is perfectly legal markup, but what's the benefits of doing this? ...

How to follow a link in QWebKit?

Having a DOM of the following html; <a href="?op=order"> <img class="img_button" src="picture.gif" onMouseOver="this.src='some.gif';" onMouseOut="this.src='some_other.gif';" alt="" border="0"> </a> how to follow a link (href) in QWebKit (specifically QWebPage). Please notice that it's an image that is linked. I can't do it (and...

starting out with html 5

Should I start using HTML 5 in my websites? The new technology looks really cool. I'm not sure about this but does IE8 support it? I'm just looking for some opinions on this matter. Tell me what you think... ...

How to make authkit session cookie HttpOnly in pylons?

Hi there! I use authkit module with Pylons and I see that session cookie it sets (aptly named authkit) is not set to be HttpOnly. Is there a simple way to make it HttpOnly? (By "simple" I mean the one that does not involve hacking authkit's code.) ...

Move jQuery to the end of body tag?

My friend read an article on net which mentioned that move all JavaScript file to the end of body closing tag (</body>), this is a valid point to move all JS files to the end of body tag. I have moved all JS files to the end except the JQuery and the JS files which are attaching event to an element on page, like below; $(document).rea...

How to inject tag (<script> <meta />) inside the header in Joomla from a module ?

Well, almost all is in the question. From a newly created module, i would like to be able to inject new meta/script tag which will be added later inside the header when rendered. I'm pretty it should be a method to do this. Any ideas ? ...

ASP.NET Server.HtmlEncode Limitations

I'm using Server.HTMLEncode to encode my HTML. I notice it dosn't escape single quotes, which is a limitation if your using single quotes in your html e.g. <input type='text' .... /> (I've checked this is valid XHTML). Are there any other limitations or things to note about Server.HTMLEncode, in particular any characters that are no...

Rapid web application development with a Web Toolkit

Hello everyone, I spend a lot of time (actually too much time) developping back-office applications whose main purpose is content management and web application configurations. Here is how I can describe these apps : - Made with PHP - Using a MySQL or Postgres or SQLite database - Made of a lot of pages and features - Very simple featu...

Jquery/Javascript Setting the attribute value of a textfield

I have a <input type='text' id='text' value='' /> How do I programmatically set the value attrribute using JQuery/Javascript ...

How to take screen shots from various browsers on a local machine for web development?

I'm looking for a program that has similar functionality to this. It's basically a service that takes snap shots or screen shots of a web page. I need one that runs local for my development behind a corporate firewall. Ideally, it would take screenshots at set intervals to a folder that I specify. Anyone familiar with such a product? Al...

Can I display a PDF, but not allow linking to it in a website?

I have a website that has a bunch of PDFs that are pre-created and sitting on the webserver. I don't want to allow a user to just type in a URL and get the PDF file (ie http://MySite/MyPDFFolder/MyPDF.pdf) I want to only allow them to be viewed when I load them and display them. I have done something similar before. I used PDFSharp t...

What could cause the same browser on different PCs to render the same HTML differently?

I'm stumped. A client and I are both running Firefox 3.0.12 on XP machines. We view the same page in the same browser on different machines and have different results. Note: All IE browsers are consistent on both of machines, and my FF 3.5.1 is consistent with my FF 3.0.12. (He does not have FF 3.5.x installed to compare with). There is...

Why and how does the googlebot use my website's search engine?

Looking through my search logs from time to time, I notice that by far the biggest user of my search engine is the google-bot. What gives? Is it looking for content that might not be directly accessible through navigation? If so, how does it know which words and phrases to look for (they're surprisingly relevant). Does it check the most ...

Can I use a non-threadsafe library in a multi-user .NET web application?

For a new web application project using .NET, an existing library (written in C#) will be made available online which performs some calculations on information in a data model. The library needs to be accessed by many users at the same time. Every user will work with a different set of data. Users also can modify model data and repeat t...

Create css files compatible with multiple browsers automatically

Is there any solution that allows you to design a webpage (with, say, a wysiwyg editor) and then automatically compile the design as one or several css file(s) compatible across multiple browsers? ...