Please send any feedback on admin@ajaxline.com.
If you want to share your experience and post article on Ajaxline just e-mail it to us and we publish it.
Kirill Chilingarashvili Write an article about loading and executing Javascript files from Javascript and ASP.NET. Here's the small excerpt from beginning of this article:
«Quite often we need to load js files dynamically right from javascript. With ASP.NET AJAX it is simple.
ASP.NET AJAX library has internal ScriptLoader class that can be used to load js files, specify callbacks that will be invoked when script is downloaded and ready, and execute functions inside newly loaded files.
I will not list all available methods from ScriptLoader class - you can see them in more details in AJAX source.
I will demonstrate how to load files and execute some functions in it.»
Read the full version of this article and download the source codes from devarchive.net blog.
Jeffrey Wave post an article in which he gave answers on following five CSS questions:
I have a floated element inside of a div. The problem is that the div is not containing the floated element. As a result, my layout is screwed up. How can I fix this?
What is the difference between relative and absolute positioning?
How can I style external links differently from site links without adding classes?
I have set the margins on my container div to "auto" but the div still isn't centered in IE6 and below. How come?
Do I have to create new divisions every time I want a page to have a different number of columns?
Source: Detached Designs.
Paul O'Brien pos an intresting article in he show how to center the contents vertically with CSS. He writes:
Brett Birke collected a large collection of links on various sites with free icon sets, which can be use in your web-projects.
Source: WebTecker.
Matt Berseth shows how to build styled color Progress bar control with changeable skins on ASP.NET 3.5. Matt writes:
«If you use AJAX in your web app's, you no doubt have made use of some sort of progress/status indicator that lets the user know that some operation is currently executing. In the app I am currently working on we use an animated gif for this. It works great, but sometimes you might find it nice to have more control over the indicator - i.e. interacting with it via JavaScript and styling it using CSS.»
Source: Matt Berseth blog
Roberto Giorgetti post an intresting article about secure filesharing With PHP applications. In this articles he covers the following topics:
Installation Instructions for a Quick Start
Let's Dive into the Code
What Smarty Is and How It Works
overLIB and Pop-Up Menus
Also you can download the source codes of demo application buiilded in this tutorial.
Source: devX.com.
Martin Brown tells about following ten good XML habits in his new article on the IBM developerWork site:
Define your XML and encoding
Use a DTD or XSD
Remember to validate
Validation isn't always the answer
XML structure versus attributes
Use XPath to find information
You don't always need a parser to extract information
When to use SAX over DOM parsing
When to DOM over SAX parsing
Use a good XML editor
You can read the full version of this article on the IBM developerWorks site.
Simone Chiaretta post an intresting article about managing ASP.NET validation from Javascript with jQuery. Here's the small excerpt from this article:
«Validators are a great part of the ASP.NET framework: they provide a standardized and easy way to add validation to form fields. But even if the framework provides different kinds of validators, there are so many different validations patterns that sometimes you have to write custom code to match your specific requirements.
Nathan Good post an article in which he tells about building the PHP web-services with the PDT - IDE for PHP development based on Eclipse. The PDT project was unveiled in September 2007 and was followed by V1.0.2 in January 2008. The PDT project provides first-class abilities to edit, debug, and deploy PHP applications in the Eclipse IDE.
Source: IBM developerWorks.
ADO.NET team writes about changes that brings the Visual Studio 2008 SP1 beta. This changes are divided on three following big parts:
Schema Changes( covers CSDL, SSDL and ProviderManifest Xml formats)
Object Services Changes
Providers
Metadata
You can read the full version of this post in the ADO.NET team blog.
Rob Glazebrook post an article on CSSNewbies site in which he shows how to solve the problem with the IE6 whitespace bug. He gave several various solutions of this problem in the article. Here's one of it:
«This is the most arcane of all the solutions, but to be honest, it’s the one I’ve used most often in the past – because I didn’t know about the other solutions! If you remove the white space from your code, this prevents IE from having anything to screw up. Specifically, if you remove the white space between your closing list item and the next opening list item, and your last closing list item and the end of your list, this will fix the problem. So you just need to turn this:
<ul>
<li><a href="#">First Item</a></li>
<li><a href="#">Second Item</a></li>
<li><a href="#">Third One!</a></li>
</ul>
Into this:
<ul>
<li><a href="#">First Item</a></li><li>
<a href="#">Second Item</a></li><li>
<a href="#">Third One!</a></li></ul>
Like I said, this isn’t exactly an elegant solution. But it does work, and it can be useful in places when CSS isn’t entirely reliable (like in HTML emails).»
You can read the full version of this article with over articles on the CSSNewbies site.
Michael Kuehl post an intresting tutorial about creating continuous pagination on youw web sites. He writes the following:
«Woah there, what's this! A Javascript tutorial!? Yes, I know its been a while since a Javascript tutorial graced the pages of Switch On The Code - but what can I say? I kind of got bored with writing them. And so, after a few month hiatus (and a couple fresh ideas for tutorials), they are back.
So what is on the plate for today? Well, we are going to take a look at how to implement continuous pagination in javascript. What is continuous pagination, you ask? That's a very good question, and it's actually a little bit difficult to describe. Say you have a list with a large number of entries - much more than you would want to load and display at once. The general tactic would be to paginate them - display 10-20 at once, and then have the user click 'next' to see the next 20, and so on and so forth.
ut if for the most part, the user is just quickly scanning through these entries, this can get annoying. The user has to click and wait for the next batch of entries to load every time that they are done with the current set. Continuous pagination gets rid of this problem. As the user approaches the end of the entries currently displayed, the next entries are requested asynchronously and appended to the end of the list displayed to the user. This way, the user never has to do anything directly to get the next entries - they are just always there waiting in the list when they are needed! »
You can read more on the Switch on the Code site.
John Resig post one more article about recently released Processing.JS. In this article he collected lot of links on various resources for programmers who are starting using the Processing.JS library. John writes:
«t's been fascinating to watch the outpouring of interest and creativity that's surrounded the recent release of Processing.js.
First things first, the project has been moved over to Github. This will help with the collaboration/patching process going forward.
Source Control: http://github.com/jeresig/processing-js/tree/master
A number of patches have already been provided by active users and have been merged into the main code base (which can be found in the project history).
Some of the changes that were made:
Virtually all of the demos now work in Webkit (save for the text rendering ones) in addition to Firefox 3.
Chris Davenport provided support for QUADS, QUAD_STRIP, TRIANGLE_FAN, and TRIANGLE_STRIP implementations in beginShape/vertex. Also endShape(CLOSE) support was added.
Renato Formato provided a patch for handling curveVertex and curveTightness correctly.
A patch from Felipe Gomes includes the addition of the LEFT/CENTER/RIGHT and mouseButton globals. The contextmenu is now prevented, as well, from right clicks. Additionally, a new init.js file was created (which is more robust than what was initially provided).
I've pulled together a quick round-up of the different, interesting, posts, demos, and projects that I've found, relating to Processing.js.»
You can read the full version of this article in John Resig blog.
Robert Nyman writes about using the DOMAssistant library in the AJAX project to make the development project more easy. He write:
«The idea behind DOMAssistant is to provide a lightweight JavaScript library, to help you out with your everyday scripting tasks. One of its strongest parts is having the fastest and most consistently accurate CSS selectors out there, which is the common starting ground for almost every scripting task there is in today's modern world of element referencing.
Just like the Safari web browser and its continuous gained success, we believe that there is a great interest for having something perform as fast as possible, and having a small yet rock solid and easy-to-use features. For those needing to extend on that, DOMAssistant has a very powerful yet simple plugin mechanism to add the specific functionality you need.»
Source: DZone
Opera Mini 4.1 released recently. David Chartier write about this release the following:
«Opera today released version 4.1 of its Opera Mini browser for mobile phones that can run Java applications. Even though version 4.0 just landed last November, version 4.1 makes an equally significant splash with a number of new features for searching, exchanging files, and archiving pages for offline viewing.
Topping out Opera Mini 4.1's new features is the ability to search text on the current web page. Turning out towards the rest of the web, however, Opera Mini 4.1 can also recognize and suggest URLs when typing in the address field. These suggestions are based on your bookmarks (which can be synchronized with a desktop copy of Opera via the company's Opera Link feature) and browsing history.»
You can read the full version of this article on th Ars Technica site.