Stay Updated: Posts | Comments

  • 12th December 2008 - By zoel

    Akhirnya sang blog engine WP dengan versi 2.7 sudah keluar, katanya interfacenya sangat luar biasa,  silahkan download disini

    Apa yang baru? saya ambil dari http://codex.wordpress.org/Version_2.7

    New Features

    Developer Features

    All of these features should be experimental at the moment and subject to change or removal before the final release.

    HTTP API

    This should be moved to its own section. I didn’t mean to actually write everything about the HTTP API.Ticket 4779

    The HTTP API is an attempt to standardize the HTTP requests and responses for WordPress. It will eventually obsolete Snoopy and deprecate the other functions in WordPress. That is, once the HTTP API is completely stable.

    The HTTP API handles the response as well, so that it standardizes how you handle the final response. What is given back to you is in the form of an array, with the headers, body, and response as array keys. More will be explained about them later.

    The main focus is the WP_Http class, which facilitates the HTTP requests and the transports. Transport is the term given to the classes, which handle the HTTP requests. The five supported transports are Fsockopen, Fopen, Streams, Curl, and HTTP.

    The fsockopen uses the fsockopen() PHP function to handle the HTTP requests. The fopen and stream transports use the fopen() PHP function, with the latter one using the context parameter to activate the PHP streams. The Curl and HTTP transports use their respective PHP extensions to handle the PHP extensions and are the preferred transports.

    The plugin developers will be handling HTTP requests using the wp_remote_request(), wp_remote_get(), wp_remote_post(), and wp_remote_head(). There are several helper functions for handling the responses, but it is advised for performance purposes to access the raw response array as much as possible. The response helper functions are wp_remote_retrieve_headers(), wp_remote_retrieve_header(), wp_remote_retrieve_response_code(), wp_remote_retrieve_response_message(), and wp_remote_retrieve_body().

    There are test cases available for the HTTP API and eventually they will probably be added to the Automattic WordPress Tests repository. The current coverage isn’t that great, but is currently being improved.

    Plugin Uninstaller

    There is a new plugin uninstall in WordPress 2.7 that allows a plugin to uninstall itself, when the user deletes the plugin. There are two uninstall methods that the plugin can implement. One is by creating a file in the base plugin directory named uninstall.php and storing the uninstall code there. The second method is by creating a hook that will execute the uninstall routines and using register_uninstall_hook() function to register the hook with WordPress.

    Comment API

    The Comment API is for managing comments using the XMLRPC protocol. See Ticket #7446 for more information and progress.

    Inline Documentation

    The WordPress 2.7 has almost every file fully documented with phpdoc type inline documentation. This includes most of the

    • Digg
    • del.icio.us
    • Facebook
    • Google Bookmarks
    • BlinkList
    • StumbleUpon
    • Technorati
    • Twitter

    No related posts.

    Related posts brought to you by Yet Another Related Posts Plugin.

  • Leave a Reply


Ad

Copyright @ 2010 - 19fdesign 19fdesign.com
Terms : Addon adsense art artworks blackberry cpns css desain design designers download facebook firefox free gaza gempa Gloria gmail google htc html icon Indonesia jaunty jquery linux linux mint mobile Mozilla Plugin repository sami yusuf samsung SEO teknologi theme tips tools ubuntu virus web Web Design Web Development Wordpress wp
PHVsPjxsaT48c3Ryb25nPndvb19hZF9mb290ZXI8L3N0cm9uZz4gLSB0cnVlPC9saT48bGk+PHN0cm9uZz53b29fYWRfZm9vdGVyX2Fkc2Vuc2U8L3N0cm9uZz4gLSA8UD48QSBIUkVGPVwiaHR0cDovL3d3dy53aHlsaW5rLmNvbT9hZmY9NTgyMjNcIiB0YXJnZXQ9XCJfYmxhbmtcIj4NCjxJTUcgU1JDPVwiaHR0cDovL3d3dy5iYWNrbGlua3MuY29tL2ltYWdlcy80NjhYNjAuanBnXCIgQk9SREVSPVwiMFwiIFdJRFRIPVwiNDY4XCIgSEVJR0hUPVwiNjBcIiBBTFQ9XCJCdXkgYW5kIFNlbGwgdGV4dCBsaW5rc1wiPg0KPC9BPg0KDQo8L2xpPjxsaT48c3Ryb25nPndvb19hZF9mb290ZXJfaW1hZ2U8L3N0cm9uZz4gLSBodHRwOi8vd3d3LmJhY2tsaW5rcy5jb20vaW1hZ2VzLzQ2OFg2MC5qcGc8L2xpPjxsaT48c3Ryb25nPndvb19hZF9mb290ZXJfdXJsPC9zdHJvbmc+IC0gaHR0cDovL3d3dy53aHlsaW5rLmNvbT9hZmY9NTgyMjM8L2xpPjxsaT48c3Ryb25nPndvb19hbHRfc3R5bGVzaGVldDwvc3Ryb25nPiAtIHJ1c3QuY3NzPC9saT48bGk+PHN0cm9uZz53b29fYXV0b19pbWc8L3N0cm9uZz4gLSB0cnVl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