As of 2009-10-05 0:00:00 GMT, this project is no longer under active development.
Diamond PHP Framework is a PHP java-like classes framework, designed to ease life for a day-to-day PHP web programming, based on PHP5 programming language. Designed to build powerful web applications with ease.
Be the first to post a text review of Diamond PHP Framework. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Diamond PHP Framework change log 1.1 version changes - Methods HashMap::get_raw(), HashMap::put_raw() and ICollectionMap:get_raw(), ICollectionMap::put_raw() removed - Added RawArrayList class/IRawArrayList interface. Added RawHashMap class/IRawHashMap interface. These are designated to work on 'basic' php types, when extra perfomance is required, but lose type-safety - Changed implements section for ArrayList class - File::get_basename() and File::get_dirname() methods no longer throw IOFileNotFoundException if the file does not exists. This allows safe filesystem paths 'clearing' - Local file name of HTTPUploadedFile is now filtered. This prevents attacks with incorrect local file name like '../../../../etc/passwd' when scripts are using it 'as is' - AbstractSQLQueryResultSet and MySQLQueryResultSet classes rewritten with the usage of RawHashMap, thus database caching perfomance increased - Changed the behavior of XMLDOMElement::get_node_value() method. It now returns the textual content of a first TextNode child element - IAbstractCollection interface methods import_integer_array(), import_float_array(), import_boolean_array() removed. They were put as non-interface methods into HashMap and ArrayList classes. RawHashMap and RawArrayList classes now too implement IAbstractCollection interface. - DOMNodesList/IDOMNodesList class/interface removed. Appropriate XMLDOMElement class methods now return RawArrayList object instance instead of DOMNodeList - Removed do_put(), do_options(), do_delete(), do_trace() methods from HTTPServlet/IHTTPServlet class/interface - Added XSLTTransformer/IXSLTTransformer class/interface - Added HTMLString::convert_html_chars() and HTMLString::convert_html_entities() methods - Changed the behavior of HTMLString::sql_escape() method. It now takes magic_quote_gpc() config value into account - HTTPResponse::remove_headers() renamed to HTTPResponse::remove_all_headers() - Added HTTPResponse::clear_contents() method - Added IHTTPOutputStream interface, changed HTTPOutputStream class - HTTPContentFilters subframework has been introduced. This allows to perform additional operations on HTTPRequest/HTTPResponse object instances before the actual information is send to the client (for HTTPResponse), or is being read by a script (for HTTPRequest). Currently two filters has been created : 1. HTMLTagsHTTPResponseFilter - performs html entities output transformation 2. SecurityHTTPRequestFilter - performs request parameters/headers tags stripping/sql escaping See /network/http_servlet/filters directory for details of implementation. - autoload.php file changed appropriately 1.5 version changes - File::set_access_mode(), File::set_file_owner_id(), File::set_file_owner(), File::set_file_owner_group_id(), File::set_file_owner_group_name() now throw IOException on failure, instead of Boolean(FALSE) return. - FTPClient::login() now throws NetworkException on failure, instead of Boolean(FALSE) return - Stripped all error supress operators, now this output can be controlled normally, through set_error_reporting() function. Increased the 'verbosity' of some exceptions. - Removed ArrayList::sort_unique() method - AbstractCollection::import_custom_array() renamed to import_array() - Stripped collections import_***_array() methods - Renamed HTMLString::convert_html_chars() to HTMLString::convert_to_html_chars(). Renamed HTMLString::convert_html_entities() to HTMLString::convert_to_html_entities(). Added HTMLString::convert_from_html_chars() and HTMLString::convert_from_html_entities() methods. - Changed the behavior of String class. Now it always stores strings data internally as UTF-8. When a constructor is called you can specify the original encoding of a string, if it differs from UTF-8, and conversion is done on the fly. String::get_value() method now allows to specify output encoding, otherwise string contents will be output as UTF-8. - Fixed some minor bugs in Streams and Collections subframeworks. - WebWidgets framework has been introduced. This framework allows to represent XHTML Documents as a hierarchy of objects and manipulate them through object-oriented methods. Say, you can create a ButtonWebWidget, set necessary properties for it (label, disabled state, etc), then render the contents to the user as a valid XHTML code. You can also create hierarchy of widgets objects, say, create a FormWebWidget and then add TextAreaWebWidget and PasswordTextWebWidget to it, then render the entire form to HTML code. The reverse process is also available. You can parse valid XHTML documents into a tree of web widgets, and manipulate them basing on the HTTP requests parameters. This subframework also adds support for CSS 2.1 styles, you can apply styles to individual or group of web widgets. Practically all HTML 4.01 tags are currently supported, except for tables and some other 'minor things' like '<br/>'; See HTTPServlet::get_web_page() method and directory /network/web_widgets for implementation details. 1.6 version changes - Changed XMLDOMElement::get_node_value() method behavior. It now returns the value of a first child DOMText element. If this element is not of a DOMText type or document element has no children, method returns NULL. - Added PCRERegexp class to work with regular expressions - Now WebPage methods for loading data from XHTML templates also parse embedded CSS styles (<style></style>) elements - CheckBoxWebWidget and RadioButtonWebWidget classes now allow to also specify a text label - Fixed bug in WebURL class - Added HTTPClient/IHTTPClient class/interface, based on CURL library - Added W3CFeedValidatorWSClient web service client class to validate RSS feeds through W3C service - Added W3CMarkupValidatorWSClient web service client class to validate web documents through W3C service - StringBuffer renamed to BytesBuffer to better reflect class ideology - Added Object::serialize() and Object::unserialize() methods - Added Integer::from_string() and Float::from_string() static methods - Added Table web widget support - Updated developers documentation 1.7 version changes - Impoved perfomance for several String class operations - Added CSVFileReader/CSVFileWriter classes to work with CSV format files - Added IniFileReader class to parse INI files and retrieve sections parameters - Fixed some javadoc typos - Updated javadoc documentation. All classes methods and theirs parameters have been commented
Be the first person to add a text review.
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: