Wednesday, 21 April 2010

  • BlackBerry Java and Web Developer Tools Updated

    RIM’s suite of BlackBerry (NSDQ: RIMM) developer tools, including the Widget SDK launched not too extended ago, have all been updated with a variety of new functions. Initial up, the Java plug-in for Eclipse now enables you to run modified apps right away without having getting to reset the device or simulator, which I could imagine would usually take awhile to do. Next is the internet plug-in, which includes full support for Widget debugging, Eclipse 3.5, and also the same hotswapping as the Eclipse plug-in. The large daddy BlackBerry Java SDK is now loaded up with added user interface elements like spin-box fields, file pickers and screen transitions to make apps real purdy-like in a really quick way. Finally, the Widget SDK, which enables the writing of BlackBerry apps utilizing typical internet languages, has exited beta and is now bundled in with the aforementioned internet plug-in.

    Hotswapping seems to be the large thing in these updates, but getting never done up a BlackBerry app prior to, I can only imagine how extended and how much of a time sink setting up the simulator to run new builds should be. If you’re interested in taking the dive, though, it is possible to discover lots of far more facts at the BlackBerry Developer Zone.

    Web Design San Francisco
    View Source
  • WordPress For the Web Developer: How To Write Your Own Plugins

    All WordPress plugins need to have a identify, but a lot more importantly, the identify need to be unique across all WordPress plugins, to prevent the wrong code from being executed. So just before you get too involved in writing code, take a couple of minutes to search the currently out there plugins and pick a great, descriptive identify that nobody else is employing.

    To stay compatible using the principal WordPress process, plugins are coded in PHP (if you are not up to speed on PHP, please check out our superb tutorial series right here). Like the identify from the plugin itself, the major PHP file containing the plugin code ought to also be named descriptively, too as not matching the identify of any other WordPress plugin file.

    If you are writing a quite uncomplicated plugin, or a single you don't plan to release to anyone else, this single PHP file may perhaps be all you will have to have inside end, and like any other plugins, it is going to be installed into the wp-content/plugins/ folder. On the other hand, in most cases you will be much better off setting up a directory structure. That way you'll be able to have some thing like this under wp-content/plugins/:

    myplugin/
    myplugin/myplugin.php (mandatory; the major plugin code)
    myplugin/readme.txt
    myplugin/screenshot.png
    myplugin/images/
    myplugin/css/
    myplugin/html/
    myplugin/js/

    All the additional files and subdirectories are optional, but should you have to have them, it's very much much more clear and professional to keep them organized in the way comparable to this. It doesn't produce any additional work or trouble for the eventual user, due to the fact plugins are commonly distributed as ZIP files which preserve the directory structure. To be able to perform using the WordPress plugin process, your plugin need to also have its identify declared inside a header at the really beginning in the file. Assume this really is myplugin.php:

    <?php
    /*
    Plugin Name: My Plugin
    */
    ?>

    This may well not do significantly (and in reality, does nothing), but it's a legal plugin and if correctly installed inside the plugin directory, it's going to appear about the Manage Plugins page. Usually, though, you'd need to add some a lot more header details, applying this format:

    Plugin URI: http://PluginHomePage.com
    Description: Plugin description in the couple of words or much more
    Version: Version number for example 2.3
    Author: Your Identify (should you wrote it)
    Author URI: http://YourHomePage.com
    License: GPL (or whatever license terms you pick)

    Just to demonstrate the basic structure, let's write a complete basic plugin, known as catify.php. By now, you ought to be able to copy/paste this into a file, install, activate, and try it on your own.

    <?php

    /*
    Plugin Name: Catify
    Description: This plugin finds the word "dog" in text and replaces it with "cat"
    */

    function catify($text)

     $text = str_replace('dog', 'cat', $text);

     return $text;


    add_filter('the_content', 'catify');
    ?>

    Catify is defined as a PHP functionality, taking $text as an argument, and then merely replacing each instance on the string "dog" with "cat" and returning the now-modified string. The following line is pure WordPress: comparable to JavaScript, plugins can work with either actions or filters. Actions take place at predetermined times, and your plugin can as a result execute at a single of those times. Filters permit a plugin to operate on text, just before the text is either displayed or added into the database.

    By applying the syntax

    add_filter('select_text', 'function')

    we're telling the plugin to produce the named perform operate around the text we've selected. In this case, the_content refers for the whole post information.

    At this point you will need to refer towards the WordPress API documentation to go considerably further. This can be a link into the general plugin documentation, and right here can be a list of plugin resources. The WordPress Plugin API page is relatively simple to discover, but the lists of action and filter references aren't as obvious. All that is a very good begin; the subsequent article will support you understand how to produce a lot more functional plugins.

    View Source
  • Adobe CS5 launch

    Will Adobe CS5 put you out of work?

    Last Monday, Adobe globally launched Adobe Creative Suite 5. Apparently Adobe executives have been not just excited but have been "wildly excited" to introduce the updated version according to Adobe Senior Vice President and General Manager John Loiacono.

    The presentation was organized into sections that consist of Adobe CS5 for Design, Adobe CS5 for Video Production, Adobe CS5 for World-wide-web, and Adobe CS5 for Photography.

    For designers, 1 of the most fascinating characteristics seemed to become the facilitated selection and removal of objects in Photoshop. The program appears being capable to intelligently fill inside the gaps right after a user selects and deletes an object or portion of the photograph. Other new characteristics for designers contain the power to test and view videos and animations in InDesign, and Adobe Flash Catalyst. Flash Catalyst makes it possible for people to creative interactive content within Photoshop and Illustrator files devoid of writing code. This could potentially permit for world-wide-web designers to produce sites devoid of the assistance of the world-wide-web developer.

    On the video production end, CS5 provides faster and simpler Rotoscoping in Following Effects. There's now a "Revolutionary Roto Brush" application that no longer demands consumers to draw masks on every single individual frame; the device does the work automatically in just several seconds. Upgraded painting tools in Photoshop and increased performance when working in HD will also advantage video producers.

    On to the world-wide-web, Adobe Flash Professional now provides the potential to change the content and sizes of various textboxes simultaneously and is no longer limited to roman languages. It's also functional with both right-to-left and vertical text like Chinese. An additional advantage is the capacity to morph text pictures into 3D objects. This might be performed easily and simply by clicking only a single button and permits the user to control depth, scaling, and texture. No knowledge of 3D is needed. Dreamweaver even lets customers to target browsers now; it is possible to pick various browsers inside the BrowserLab and see what your page looks like in each and every environment.

    For photographers, Photoshop is ready to handle HDR pictures much much more efficiently. It enables customers to removed blurred spots in pictures produced by objects moving between exposures. It also includes far more efficient noise reduction along with a new lens correction effect. Other attributes contain the capability to paint from photographs, plus a mixer brush instrument that "realistically" blends colors. There's also a "Puppet Warp" device; it appears to make it possible for consumers to decide on points and develop natural looking distortions.

    The new functions in CS5 seem to enable customers to accomplish numerous tasks that have been tedious in CS4 swiftly and efficiently. It looks that a number of tasks that have been formerly completed by skilled workers can now be performed by an average user with a tutorial and also the click of your button. Only time will tell how this advance in technology will affect online workers, video editors, and other digital artist.
    View Source
  • Adobe gives up on Flash for iPhone and iPad, but leaves the door open

    In an indirect yet obvious way, Section 3.3.1 of Apple's new iPhone developers' agreement binds developers to a promise that whatever they bring for the iPhone is going to be made exclusively to the iPhone. It effectively bans the use of cross-platform gear or middleware like Adobe Flash, by saying anything Apple approves need to be coded inside company's very own Objective-C, or in C or C++.

    If Adobe ended up to have proceeded with its previous plans to forge an official, working Flash program for iPhone, that would are already the defiant move. Instead, Mike Chambers, the company's product manager for Adobe Integrated Runtime (AIR), discovered himself yesterday afternoon sounding the retreat.

    "We will nevertheless be shipping the capability to target the iPhone and iPad in Flash CS5," Chambers wrote. "However, we aren't currently planning any additional investments in that feature."

    It isn't obvious to anyone, such as Chambers, exactly how Apple is going to be ready to enforce its provisions. The two possibilities are quite strict policing of every and just about every 1 of its thousands of incoming App Store entries, or selective rejections which are intended to send a incredibly obvious message (similar into the record industry's former strategy of selectively prosecuting file sharers). But as Chambers explained yesterday, if Apple have been being selective, the selections that would send the clearest message would additional likely concern Flash than Titanium, MonoTouch, or Unity.

    Adobe won't stop developers from employing the resources the corporation already baked into its Creative Suite 5, for targeting the iPhone if they so select, Chambers stated. He just warned that if they do so, Apple may possibly make their lives complicated. He stated that personally, he'll devote the attention he would have paid to iPhone towards the Android system instead, inviting fellow Flash developers to stick to suit.

    To that end, in an interview with Fox Company final week, Adobe CEO Shantanu Narayen explained Flash improvement for smartphones has reached the point where the latest versions might be released "in the second half in the year." Narayen created obvious it won't be Adobe doing the releasing, but instead the businesses that handle their respective platforms -- specifically Google, RIM, and Palm.

    Apple's insistence on restricting improvement to its very own equipment and to an absence of middleware could have a detrimental effect on the good quality in the iPhone program over time. Very first, middleware including Unity created it feasible for smaller progress shops to obtain a handle on iPhone OS -- regardless of whether they ended up developing cross-platform or not -- engaged and excited an whole realm of developers who felt they could exploit the power with the system applying resources they could manage.

    Unity is perhaps the most well-known cross-platform game progress instrument that supports the iPhone program. Like MonoTouch, its scripting engine is Mono, the open source work-alike with the .NET Framework funded by Novell. Though that scripting is essentially C#, the object-oriented C made by Microsoft (Objective-C is the object-oriented C originally conceived to the NeXT program, brought to Apple when it reacquired Steve Jobs' services in 1996), the equipment constructed by Unity around that program are significantly additional intuitive, as well as the language as a whole is both a lot more common and a lot more broadly taught. On the time in the iPhone's unveiling, the TIOBE Programming Community Index ranked Objective-C the #38 most well-known language inside the world, really declining to #42 by April 2009. Currently, Objective-C has risen every one of the method to #11, though C# (#6 and climbing) picks up new converts at about the same pace.

    Objective-C's converts have apparently come instead suddenly, most likely in anticipation of Apple shutting the door on approvals for apps constructed making use of other resources.

    Second, Apple's move forces a choice between professional apps developers and service providers: Need to they risk everything on a person program, even if it is a successful 1?

    That's not a choice that developers appreciate making. As Microsoft Chief Software Designer Ray Ozzie told reporters final November, from his discussions with mobile developers, he saw apps firms preferring to leverage as several platforms as they could, so that you can justify the progress expenditures they have been putting in. Utilizing broadly accepted cross-platform methods helps lower those fees; making use of a device that targets just a person system, and that demands specialization, raises those expenses and thus reduces margins.

    Ozzie foresaw a time when "app phones," as he known as them (iPhone being a person) ended up recognized not just for what functions they contained, but what well-liked apps they had been capable of running. And being a well-liked app, you have to be accessible much more than a single place. (It is notable that Robbie Bach wasn't inside room to hear this on the time.) "If there's a marketplace there, every one of the apps that count is going to be ported. Each and every app that matters are going to be ported to each and every a single of them, since if there's a set of users and it fees $50,000 of consulting time to have somebody port a little app, it is heading to obtain ported," Ozzie mentioned. "So I just do not think there's heading to get substantial differentiation in the app degree."

    Apple's move disallows differentiation on the app degree, at least on paper. But that's only if it enforces that differentiation. In a discussion between Unity developers these days, developers you can find hopeful that as long as their toolset may be employed to create binary code which could then be compiled by Apple's Xcode -- its prescribed iPhone OS developers' toolkit -- they will even now be capable to use libraries for instance Unity iPhone 1.7 -- released just days ago -- to produce their items.

    The hope here between Unity developers is that Apple's only grievance is with the existence of middleware or JIT compilers or interpreters on its program, which would enable developers to bypass its strictly regulated deployment channel. That hope could are already brightened final week by the announcement from the makers of PhoneGap, an iPhone app growth device that doesn't use Objective-C, but instead enables apps to get constructed applying typical Web app languages including JavaScript and CSS. Final Wednesday, PhoneGap announced it had communicated directly with Apple, and that it was told its methods had been not in violation of Section three.three.1.

    In comments for that announcement yesterday, nonetheless, a single independent Web developer whose profile lists cross-platform work, which includes .NET, advised PhoneGap developers to adhere on the spirit of Section three.three.1 anyway. "Apple has strict iPhone / iPad Design Guidelines and you need to stick to [them] as a lot as you are able to," he wrote. "Don't do just 'porting,' that's why this Apple vs. Flash fight started and as you are able to see, Apple is winning! Rethink your app with the Apple devices if you possibly can."

    View Source


  • Hi everyone! I'm just getting started on Xanga... Drop me a comment if you've got some ideas on what to do first - or just to say, "Hi!"

claude98strong5

  • Visit claude98strong5's Xanga Site
    • Name: Cloud
    • Gender: Male
    • Member Since: 4/21/2010

Recommended

[no recommendations]

Groups

[no groups]