Main > Free Download Search >

Free class 1.0 software for linux

class 1.0

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 5413
Calendario Class 1.0

Calendario Class 1.0


Calendario Class provides a PHP class that is useful for creating calendars and organizers. more>>
Calendario Class provides a PHP class that is useful for creating calendars and organizers.
Calendario Class is a PHP class that helps you to create calendar and organizers.
Its highly configurable, letting you choose how many days are in a week, when a week starts, the details of the HTML output, and so on.
It also knows about holidays.
Enhancements:
- Added holidays functionality
<<less
Download (0.096MB)
Added: 2007-03-16 License: LGPL (GNU Lesser General Public License) Price:
956 downloads
MRP::BaseClass 1.0

MRP::BaseClass 1.0


MRP Base Class 1.0 is an efficient base class for Perl objects that generates the class interface from a definition more>>
MRP Base Class 1.0 is an efficient base class for Perl objects that generates the class interface from a definition.

The aim of this package is to allow you to define a classes interface, and have perl generate all of the standard functions for you.

Major Features:

  1. Fields: Member access functions are auto-generated so that nowhere in your code do you ever directly access member variables.
  2. Package variables: Class functions are auto-generated to make package variables work like static class members.
  3. Default variables: The package variable an be made to act as the default value for a field of the same name.
  4. Delegation support: Simply specify which field is a delegate and which functions to delegate to it, and the glue code is auto-generated.
  5. Provide dramatically better error messages when methods or static functions can not be found. Try invoking the < C -w > flag. It even lists possible correct spellings of misspelled function names!
  6. The class definition in a BEGIN block is included at the end of the package. This allows the interface to be checked, and the code to be generated at compile time. This has the additional benefit that these checks are performed during a < C -c > compilation.

Requirements: Perl

<<less
Added: 2009-06-10 License: Perl Artistic License Price: FREE
14 downloads
TagCloud Maker Class 1.0

TagCloud Maker Class 1.0


TagCloud Maker Class is a class that takes a single dimensional array of terms and outputs a piece of HTML with each term. more>>
TagCloud Maker Class is a class that takes a single dimensional array of terms and outputs a piece of HTML with each term wrapped in a span tag with an ID that you can define in your CSS.

TagCloud Maker Class script can be called either as an object or as a static class.

Check out the example page. The keywords from the sample page come from the last 30 entries of my blog. Ill admit I cheated and just open the database and pull them from there instead of trying to call my blog w/curl or fopen and parse it. (Although that would have been cooler.) I then ran each blog entry against Yahoos Term Extraction API to get the terms. Then I pumped that array into my new TagCloud maker. The important code you cant see from the index.php is below.


require_once(TagCloud.php);
$x = TagCloud::fetch_cloud($thisArray,...,tagcloud_,http://www.technorati.com/tags/%s);
$o = new TagCloud($thisArray,...,tagcloud_,http://www.technorati.com/tags/%s,10,weight,2);
$o->get_cloud();
$y = $o->output_cloud;

As you can see, I used 2 different methods of creating the 2 lists. The first is just calling the object::method statically with all the necessary parameters. This is by far the easiest way to use this class and unless you need something special, its the way I recommend. The second way it to instantiate an object. I pass all the variables into the constructor but you could just as easily use the setters to set them all. (dont know why you would but hey, I spent an extra 15 minutes creating getters and setters so use them, by all means use them!)
<<less
Download (0.012MB)
Added: 2006-01-25 License: GPL (GNU General Public License) Price:
1380 downloads
PHP HTML Graph Class 1.0

PHP HTML Graph Class 1.0


PHP HTML Graph Class is a class for drawing vertical bar graphs using only HTML and CSS. more>>
PHP HTML Graph Class is a class for drawing vertical bar graphs using only HTML and CSS. Simple and grouped bars can be created. You can change everything regarding the looks as the output is template-driven.
On the fly, you can change the size of graph, the color of all or individual bars, add labels, a title, and footnotes, or customize the CSS style of all elements. The width and height of bars can be specified in pixels or percentages. The code is heavily documented.
Enhancements:
- In some PHP versions, there were some issues regarding passing variables by reference.
- The class would produce no output (nor errors) in PHP versions lower than 5 due to the different implementations of PHPs get_class() function in these versions.
<<less
Download (MB)
Added: 2006-11-14 License: Free for non-commercial use Price:
1077 downloads
PHP ImageMagick Class 1.0

PHP ImageMagick Class 1.0


PHP ImageMagick Class is a class for processing images with ImageMagick. more>>
PHP ImageMagick Class is a class for processing images with ImageMagick. This PHP Class makes it possible to process images in a very easy way.
To scale an image to 640x480 when its bigger youy can do this:
include(imagemagick.class.php);
$im = new Imagemagick($targetdir);
$im->Resize(640, 480, keep_aspect);
$im->Save();
$im->CleanUp();
?>
Enhancements:
- retrieve image data
- flip
- dither
- monochrome
- negate
- rotate
- blur
- draw frame
- resize
- square
- crop
- convert
- save
<<less
Download (0.005MB)
Added: 2006-07-14 License: GPL (GNU General Public License) Price:
712 downloads
IAM OPML Parser Class 1.0

IAM OPML Parser Class 1.0


IAM OPML Parser Class parses an OPML file (provided its URL) and returns an array. more>>
IAM OPML Parser Class parses an OPML file (provided its URL) and returns an array.

OPML (Outline Processor Markup Language) is an XML format for outlines. Originally developed by Radio UserLand as a native file format for an outliner application, it has since been adopted for other uses, the most common being to exchange lists of web feeds (RSS) between web feed aggregators. The OPML specification defines an outline as a hierarchical, ordered list of arbitrary elements. The specification is fairly open which makes it suitable for many types of list data.

The XML elements in an OPML document are:

< opml version=”1.0″ > This is the root element. It must contain the version attribute and one head and one body element. Currently, there’s active work in OML 2.0, which is mainly aimed at solving some of v1.o’s shortcomings.

< head > Contains metadata. May include any of these optional elements: title, dateCreated, dateModified, ownerName, ownerEmail, expansionState, vertScrollState, windowTop, windowLeft, windowBottom, windowRight. Each element is a simple text element. dateCreated and dateModified contents conform to the date-time format specified in RFC 822. expansionState contains a comma-separated list of line numbers that should be expanded o and size of the display window. An OPML processor may ignore all the head sub-elements. If the outline is opened inside another outline then the processor must ignore the window elements.

< body > Contains the content of the outline. Must have one or more outline elements.

< outline > Represents a line in the outline. May contain any number of arbitrary attributes. Common attributes include text and type. The outline element may contain any number of outline sub-elements. While there are many tools to create and/or read OPML files, there are few PHP libraries/functions to work with these files.

This PHP class parses an OPML file (provided its URL) and returns an array with all the parsed data. This array contains, for each of the OPML file’s elements the following attributes: link_url, link_name, link_target, link_description, link_rss, created (date of creation), type (link type: RSS, HTML, etc.). The class uses file_get_contents() to retrieve the contents of the OPML file and then the XML extension is used to parse and store the file’s data in an associative array, where each outline element is stored using a different array index. The array has the following structure:

0 : Array:
{
names => Preface
urls => http://www.php.net/manual/en/preface.php
targets =>
feeds =>
descriptions =>
created => Nov 28 2005 21:05:49 GMT
type => link
}
1 : Array:
{
names => I. Getting started
urls =>
targets =>
feeds =>
descriptions =>
created =>
type =>
}
<<less
Download (0.002MB)
Added: 2007-07-23 License: Freeware Price:
823 downloads
PHP Date Picker Class 1.0.5

PHP Date Picker Class 1.0.5


PHP Date Picker Class will automatically generate the required HTML and JavaScript code. more>>
PHP Date Picker Class library will automatically generate the required HTML and JavaScript code that will make a pop-up window appear to let the user choose a date from a calendar. The selected date will be passed to a user-specified control from the calling page.
Every aspect is customizable by modifying a template and a related CSS file. The format in which the date is returned, the default date and time period, and the first day of the week can be selected.
Many thanks to Johan van Ieperen for sending in the dutch translation for the PHP class and for the valuable comments he made for improving usability, to Achim from Germany for finding the bug that would screw up the calendar on certain situations and also thank to Wassilios Meletiadis for sending in the german translation for this PHP class.
Further suggestions, comments and requests are welcommed. Id also really appreciate if you could send me links to the web pages where you are using the class so I can give them as refference and convince more people to use it. Thanks!
Enhancements:
- The selected date and time were not preserved if the month or year were changed.
- Using any date format other than the default would cause all dates to be disabled everywhere.
- A potential problem with selectableYearsRange and selectableTimesRange was fixed.
- The cause of the problem was the fact that PHPs date() function returns a string and therefore date("Y") would return the current date as a string rather than an integer, which made the calendar unusable.
<<less
Download (0.063MB)
Added: 2007-03-05 License: Free for non-commercial use Price:
984 downloads
WebServerInfo PHP class 1.0.0

WebServerInfo PHP class 1.0.0


WebServerInfo PHP class is intended for developer who create software that will run on different web servers. more>>
WebServerInfo PHP class is intended for developer who create software that will run
on different web servers. The project gives a developer a consistent interface
for accessing web servers variables.

Usage:

You have following options:

Option #1
require_once("WebServerInfo.class.php");
$obj = new WebServerInfo();
print $_SERVER[DOCUMENT_ROOT];

Option #2
require_once("WebServerInfo.class.php");
$obj = new WebServerInfo();
print $obj->get(DOCUMENT_ROOT);

Option #3
uncomment the 3rd line from WebServerInfo.class.php
and all you have to do is require the WebServerInfo.class.php class.

Note:
The constructor of WebServerInfo class overrides $_SERVER variable and
variables can be accessed as usual way.


Following base variables are exported if they do not exist.

REQUEST_URI
REDIRECT_URL
DOCUMENT_ROOT
SERVER_SIGNATURE
SERVER_ADDR
SCRIPT_FILENAME
<<less
Download (0.013MB)
Added: 2006-11-22 License: LGPL (GNU Lesser General Public License) Price:
1067 downloads
PHP Data Grid Class 1.0 Beta 3

PHP Data Grid Class 1.0 Beta 3


PHP Data Grid Class can be used to display MySQL query results in HTML tables. more>>
PHP Data Grid Class can be used to display MySQL query results in HTML tables. PHP Data Grid Class executes a given SQL SELECT query and generates an HTML table defined by a template to display the query results.
The results table also shows links to navigate between query result pages. The number of result rows to display per page is configurable. The results can be sorted by columns that the user may choose by clicking on column links. The list of sortable columns may be restricted.
Main features:
- the php class executes a given SQL query and generates a template driven HTML code that displays the query results.
- automatically provides means of navigation trough pages and lets user decide how many rows to be displayed on each page
- automatically let user sort by available columns - or you can restrict this feature for specific columns
- if requested, it can automatically display a "selector" column - a column to let users mark specific rows as selected
- you set what columns from the query result to be displayed
- you can alter the content of a columns fields on the fly by creating callback functions
- you can add JavaScript actions for when user clicks on displayed rows or on specific columns cells
- you can extend the functionality of the data grid by adding custom columns - columns whose content is not
- generated by the query but added by you - you can add any HTML and/or JavaScript to perform any action
- everything is template driven
- multi-language support
Enhancements:
- Arrays can now be passed to the grid for displaying.
- Setting the the default sort column now works correctly.
- The layout of check all/uncheck all/invert buttons can now also be set from the template.
- The form action can now be set when instantiating the data grid and the template can now be set by using the newly added method, "setTemplate()".
- The language can now be set with the "setLanguage()" method.
- Romanian, Spanish, and Simplified Chinese translations were added.
<<less
Download (0.12MB)
Added: 2007-05-15 License: Free To Use But Restricted Price:
539 downloads
PHP Image Manipulation Class 1.0.4

PHP Image Manipulation Class 1.0.4


PHP Image Manipulation Class can be used to perform several types of image manipulation operations. more>>
PHP Image Manipulation Class can be used to perform several types of image manipulation operations.
It can rescale images to fit in a given width or height keeping (or not) the original aspect ratio, flip images horizontally or vertically, and rotate images by a given angle while filling the empty spaces with a given color.
All operations preserve transparency. The class does all the error checking for the source and target files. The class supports loading and saving images in the GIF, JPEG, and PNG formats.
Enhancements:
- The crop() method was added.
- The preserveSourceFileTime property was added, which instructs the scripts to preserve the date and time of the source files and pass them on to the target files.
- The flip methods now use the imagecopyresampled function instead of using imagecopy.
- The script no longer crashes when a valid path which is not a file is specified as a source file.
- Error handling for the create_image_from_source_file() private method was fixed, so the script can no longer be easily crashed by specifying bogus source files.
<<less
Download (0.036MB)
Added: 2006-10-13 License: GPL (GNU General Public License) Price:
641 downloads
SMK PHP Authentication Class 1.0.1

SMK PHP Authentication Class 1.0.1


SMK PHP Authentication Class package can be used to authenticate users against a MySQL database of user records. more>>
SMK PHP Authentication Class package can be used to authenticate users against a MySQL database of user records.
It can verify whether there is a record for an active user given the user name and password. If the authentication succeeds, it creates a record for a new session in another database table.
The new session identifier is set to a session cookie. This cookie can be verified in subsequent accesses to determine whether the user was previously authenticated and the session did not expire.
Installing:
- Import the "script.sql" in your MySQL Database (It adds a default user "Testman", password "t")
- Alter the db.inc.php accourding to your system setup. Please adjust the SESSION timeout since it is maybe to high for you.
- Build a login page similar to my example "login.php". you should include the two files
require_once(auth.class.php);
require_once(db.inc.php);
- in all the "registered only" pages include "require_once(auth.php);" on top. Please check "index.php"
Enhancements:
- A new behaviour option for session timeout was added.
- By setting or unsetting the _TIMEOUT_ABSOLUTE constant in "db.inc.php" you can determine if the Session timeout is relative to the login time or relative to last user activity (page reload or sumbision).
<<less
Download (0.012MB)
Added: 2006-05-15 License: GPL (GNU General Public License) Price:
1271 downloads
PHP Sessions Management Class 1.0.3

PHP Sessions Management Class 1.0.3


PHP Sessions Management Class is a php class to handle sessions by using a mySQL database. more>>
PHP Sessions Management Class is a php class to handle sessions by using a mySQL database for session related data storage providing better security then the default session handler used by PHP.
If you are not familiar with what php sessions are and what are they good for, check out the dedicated chapter in the php manual
If you are familiar with php sessions and you want to use this php class in your projects then remember that to prevent session hijacking, you must not forget to use the regenerate_id() method whenever you do a privilege change in your application
Before usage, make sure you use the session_data.sql file (which is a sql dump file generated with phpMyAdmin) from the install_sql folder to set up the table used by the class
You dont need to modify anything in your previous applications: after instantiating the php class, just use sessions as you would normally.
Note:
The class assumes that there is an active connection to a mySQL database and it does not attempt to create one. This is due to the fact that, usually, there is a config file that holds the database connection related information and another class, or function that handles database connection. If this is not how you do it, you can easily adapt the code by putting the database connection related code in the "open" method of the class.
Enhancements:
- The get_users_online() method is now more accurate as it now runs the garbage collector before getting the number of online users.
- The structure of the MySQL table used by the class was tweaked in so that the "http_user_agent" field was changed from VARCHAR(255) to TEXT to accomodate user agent strings that are longer than 255 characters.
- The "session_data" field was also changed from TEXT to BLOB to help users who store a large amount of data in sessions.
<<less
Download (0.020MB)
Added: 2006-12-16 License: Free for non-commercial use Price:
1044 downloads
PHP mySQL Database Wrapper Class 1.0.9

PHP mySQL Database Wrapper Class 1.0.9


PHP mySQL Database Wrapper Class provides a set of methods for interacting with a MySQL database easily and securely. more>>
PHP mySQL Database Wrapper Class provides a set of methods for interacting with a MySQL database easily and securely. Most of the methods are extended versions of PHPs native functions, but providing a lot more functionality and powerful debugging features.
There are also new methods that greatly simplify the process of executing specific queries like returning specific rows or even single values from specific rows, SUM(), COUNT(), and MAX() queries.
Enhancements:
- The result of select queries can now be cached.
- All records returned by SELECT queries were shown in the debug window, which would crash the script if there were lots of rows.
- The "showMaxRows" allows you to restrict this number.
- A bug when working with queries using replacements and having apostrophes in the replacements was fixed.
- Due to a typographical error, no error message was shown if a database could not be selected.
- New methods were added: "delete", "truncate", "insert", and "update" which are all shorthand for performing the respective SQL tasks.
<<less
Download (0.064MB)
Added: 2007-05-30 License: GPL (GNU General Public License) Price:
887 downloads
PHP HTML Form Generation and Validation Class 1.0 Beta 3

PHP HTML Form Generation and Validation Class 1.0 Beta 3


PHP HTML Form Generation and Validation Class is a PHP class for easy HTML form generation and validation. more>>
PHP HTML Form Generation and Validation Class is a PHP class for easy HTML form generation and validation.

If youre a web developer you know that designing HTML forms and writing the PHP code for their validation is a really dull task. And if youre like me you mustve looked around the web to see what you can find in order to ease this task.

I made this class first of all because being addicted to coding, I just had to. But what had me really thinking, after looking at some of others people work was: "cool, but what if I have to put the label on top of the text box and not to the left of it? or what if I have to put three controls in a row?" because the vast majority of the HTML form processors Ive seen were just adding the controls one beneath the other and as a webdeveloper I can tell you, besides the login window, I was never asked to build a form where all the controls are just one beneath the other... Now, I am sure that in some of them there were workaround for these things but I wanted it really simple. Oh, and another thing: I wanted the error messages generated by the form validation to be wherever I wanted not just on top, not just on bottom. I want them wherever I feel like theyre looking ok!

So thats why this PHP class is as straightforward as it gets: it provides an easy and intuitive way of handling both HTML form design - based on templates, where you can design your form any way you want, and basic server-side form validation. As this is a BETA version, currently there are only a few validation rules available but you can easily write custom validation rules, both for server-side and client-side.

It provides all the basic controls available in an HTML form plus a date picker control.

In order for the date control to work you must also download the PHP Date Picker Class from the downloads section and configure the PHP Form Generation and Validation Class by setting the datePickerPath property to point to the date picker class!

Youll get a better picture of what Im trying to say by downloading the class and running the example and browsing through the documentation

Suggestions, comments and requests are welcomed.

The code is heavily documented so you can easily understand every aspect of it.

<<less
Download (0.13MB)
Added: 2007-02-19 License: GPL (GNU General Public License) Price:
981 downloads
Class::XML 0.06

Class::XML 0.06


Class::XML is a Perl module for simple XML Abstraction. more>>
Class::XML is a Perl module for simple XML Abstraction.

SYNOPSIS

package Foo;

use base qw/Class::XML/;

__PACKAGE__->has_attributes(qw/length colour/);
__PACKAGE__->has_child(bar => Bar);

package Bar;

use base qw/Class::XML/;

__PACKAGE__->has_parent(foo);
__PACKAGE__->has_attribute(counter);

# Meanwhile, in another piece of code -

my $foo = Foo->new( xml => # Or filename or ioref or parser
qq!< foo length="3m" colour="pink" >< bar / >< /foo >! );

$foo->length; # Returns "3m"
$foo->colour("purple"); # Sets colour to purple

print $foo; # Outputs

my $new_bar = new Bar; # Creates empty Bar node

$new_bar->counter("formica");

$foo->bar($new_bar); # Replaces child

$new_bar->foo->colour; # Returns "purple"

$foo->colour(undef); # Deletes colour attribute

print $foo; # Outputs < foo length="3m" >< bar counter="formica" / >< /foo >

Class::XML is designed to make it reasonably easy to create, consume or modify XML from Perl while thinking in terms of Perl objects rather than the available XML APIs; it was written out of a mixture of frustration that JAXB (for Java) and XMLSerializer (for .Net) provided programming capabilities that simply werent easy to do in Perl with the existing modules, and the sheer pleasure that Ive had using Class::DBI.

The aim is to provide a convenient abstraction layer that allows you to put as much of your logic as you like into methods on a class tree, then throw some XML at that tree and get back a tree of objects to work with. It should also be easy to get started with for anybody familiar with Class::DBI (although I doubt you could simply switch them due to the impedance mismatch between XML and relational data) and be pleasant to use from the Template Toolkit.

Finally, all Class::XML objects are also XML::XPath nodes so the full power of XPath is available to you if Class::XML doesnt provide a shortcut to what youre trying to do (but if you find it doesnt on a regular basis, contact me and Ill see if I can fix that.

<<less
Download (0.018MB)
Added: 2006-09-07 License: Perl Artistic License Price:
1142 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5