DevNewz Home Page About iEntry Article Archive News WebProWorld Forums Jayde iEntry Contact Advertise Downloads iEntry
08.18.04

Oracle Programming with PL/SQL Collections
PL/SQL applications typically consist of SQL statements intermixed with procedural logic to process data retreived from the database. If compiled as a stored procedure, your PL/SQL code will reside on the server, an ideal place for programs that require intensive database interaction. Having said that, anytime a software application links up with a database, there is a performance price to be paid. Not only that, programs that continually switch off between code and SQL can become quite complex. PL/SQL collections can address some of these concerns.

Why Collections?

Just about all modern programming languages provide support for collections. A collection can be loosely defined as a group of ordered elements, all of the same type, that allows programmatic access to its elements through an index. Commonly used collection types used in the programming world include arrays, maps, and lists.
Read The Whole Article
Programming with PHP and GTK, Part 1
Have you ever thought of writing a PHP application for client side execution without having a web server present? One of my clients required one of the web applications I had written for him for his website to run on his desktop. Since the whole application was already written, I was dreading the fact that I had to re-code the whole application in another programming language on his desktop.
Read The Whole Article

Track Your Apps with the Open Source Logging Framework, Log4j
They say 'necessity is the mother of invention.' Being able to keep an eye on your application is a need from which emerged logging and tracing frameworks. Application developers needed a way to have their programs relay vital signs and other signs of life to them. Many developers tend to use log statements as a low-tech approach to debugging. Such an approach is often leveraged in production, when you might not have the luxury of using your IDE's debugger against your production code. Also, when things go wrong, you can trace the root of a problem using persisted logs.

Log4j is an open source logging API for Java, designed to be "reliable, fast, and extensible." To the avail of programmers wanting to adopt an easy logging facility, Apache Log4j fits the mold.
Read The Whole Article


Datasets in Microsoft.Net
ADO.NET was designed to meet the needs of a new programming model: disconnected data architecture, tight integration with XML, common data representation with the ability to combine data from multiple and varied data sources, and optimized facilities for interacting with a database, all native to the .NET Framework.The ADO.NET DataSet is a memory-resident representation of data that provides a consistent relational programming model regardless of the source of the data it contains.

A DataSet represents a complete set of data including the tables that contain, order, and constrain the data, as well as the relationships between the tables.The DataSet class and the classes contained in DataSet objects—DataTable, DataColumn, DataRow, Constraint, and DataRelation—reside in the System.Data namespace.
Read The Whole Article

Building Practical Solutions with EXSLT.NET
The XSLT language is an extremely powerful and popular tool for transforming XML documents, and the XPath language is an even more popular tool for querying XML. But as it usually happens, the first version of anything is rarely perfect. Based on four years of experience of a wide developer audience, it's clear now that XSLT 1.0 and XPath 1.0 lack some useful pieces of functionality, such as set operations, date and time manipulation functions, regular expressions, math functions, ability to produce multiple outputs, and others. These are quite reasonable restrictions for the very first version, and, as you can expect, the forthcoming second versions of the XSLT and XPath languages are going to bridge those gaps. Happily XSLT and XPath both were designed to be extensible (recall "X" stands for "eXtensible" in XML world), so bridging the gaps in XSLT and XPath has always been a matter of developing extensions.

XSLT defines two kinds of extensions—extension functions and extension elements. However, the XSLT Recommendation doesn't define a mechanism for providing extension implementations, instead leaving it up to XSLT processor vendors. Thus XSLT extensions are not portable between XSLT processors. For instance, one cannot expect the ms:format-date() extension function that is provided by MSXML4 to be available in MSXML3 or .NET (however, XSLT allows a stylesheet to determine whether a particular extension is supported by the XSLT processor that processes the stylesheet and fallback gracefully). Anyway, thousands of extension functions have been developed by XML developers for many XSLT processors, and finally it became clear that some sort of standardization was needed to avoid redeveloping extensions over and over again, and to overcome portability problems. That's what the main goals of the EXSLT community initiative are.
Read The Whole Article

Proactive Customer Service:
"Seizing the Initiative to Exceed Customer Expectations, Cut Costs and Out-Service the Competition" >>Get the free white paper today

Mandelbrot Image Programming in C#
It was a number of years ago, in August of 1985, when the cover of the Scientific American caught my eye. The abstract image seemed somehow familiar but after further examination I discovered it was an entirely new area of mathematics called fractals. A. K. Dewdney's article in his Computer Recreations column entitled "A computer microscope zooms in for a look at the most complex object in mathematics." fascinated me. This article was the first exposure the general public had to Benoit Mandelbrot's fractal images and, perhaps more than many other technical articles, launched a popular interest in fractal programming. Within a few days of reading the article I had produced a black and white 50 pixel square image of the Mandelbrot set on an IBM PC with an Intel 8088 CPU, an effort that took a several hours of computing time as I recall.

As the 1980's progressed I purchased an IBM Model 50, which could display these fractal images in 16 colors and on a 640 x 480 pixel screen. Later my fractals appeared in even greater detail on an IBM Model 70 with 256 colors and a 1024 x 768 screen. During this time most of my fractal programming was in Pascal, as Borland had produced an inexpensive Pascal compiler that was a quantum leap in speed from the old BASIC interpreters. Later Borland produced a C compiler as well and my fractal programs migrated to this language. Up until the early 1990's all of these programs were written for the MS-DOS operating system. Computation times for large Mandelbrot fractal images remained long, in many cases several hours and even overnight. The introduction of math coprocessors in the Intel 486 CPU helped reduced computation time and the Pentium family with its multiple pipes has finally brought the rendering time down to reasonable levels.
Read The Whole Article




Read this newsletter at: http://www.devnewz.com/2004/0818.html
Free Newsletters
Part of the iEntry Network
over 4 million subscribers
DevNewz
ITProNews
WebProASP


Send me relevant info on products and services.


 

 

From the Forum:
simple login

Ive been through nearly every php script at hotscripts. I set up the MySQL right, and everything, but get code jargon on my display screen when logging in, adding users, etc. I was told this is because i am using asp, on a windows server, and can not change the server permissions to not show this. Anyway, all i need is a simple login where i can store the usernames and passwords in a secure file. Could someone please show me some code, or give some ideas..? ...

Read the Post

 

 

-- DevNewz is an iEntry, Inc. publication --
iEntry, Inc. 880 Corporate Drive, Lexington, KY 40503
2004 iEntry, Inc.  All Rights Reserved  Privacy Policy  Legal

archives | advertising info | news headlines | free newsletters | comments/feedback | submit article






JavaProNews.com MacProNews.com