WebProNews

Tag: web developers

  • XML Found To Be Just As Fast As JSON

    XML Found To Be Just As Fast As JSON

    Since its introduction in 1996, XML has taken the world by storm by providing an easy to use markup language that’s used in everything from RSS to office productivity software. Its main competitor – JSON – is often quoted as being superior due to it being faster while using less bandwidth. One engineer has set to prove that wrong.

    David Lee, lead engineer at MarkLogic, has published a paper called “Fat Markup: Trimming the Myth One Calorie At A Time.” The paper documents an experiment where he pit XML against JSON in almost 1,200 tests covering 33 different documents across multiple Web browsers and operating systems. The results may surprise you.

    Upon the conclusion of the experiment, Lee had found four areas that show XML and JSON are both slaves to outside influences. The first conclusion found that the parsing speed changes depending on which parsing technique is used with XML performing better with pure JavaScript while JSON performs betters with query speed. The second conclusion found that jQuery slows down both markup languages, but XML sees a bigger dip in performance. The third conclusion found that compressed documents, regardless of format, are the same size across both markup languages. The final conclusion found that transfer speed is largely the same across both markup languages.

    So, what does this all mean? The needless fighting over which markup language is better doesn’t make the Web a better place. Lee instead recommends that developers focus on making their Web sites more efficient so that both XML and JSON can perform at their best. To that end, he recommends the use of HTTP Compression and markup optimization. He does provide one caveat though. Developers shouldn’t try to optimize unless there’s a significant problem with data transmission on their Web site.

    [Image: Dreftymac/WikiMediaCommons]
    [h/t: InfoQ]

  • PHP 5.5 Updated, Version 5.3 On Its Way Out

    PHP is the weapon of choice for many Web developers. It’s a good thing then that the team behind it has been very diligent with its releases. In fact, they have recently released an update to address some bugs that have popped up in the latest version.

    If you recall, the PHP Group in late June released PHP 5.5. This latest version included a number of additions and enhancements. For a refresher, here’s all the new stuff that was added:

  • Added generators and coroutines.
  • Added the finally keyword.
  • Added a simplified password hashing API.
  • Added support for constant array/string dereferencing.
  • Added scalar class name resolution via ::class.
  • Added support for using empty() on the result of function calls and other expressions.
  • Added support for non-scalar Iterator keys in foreach.
  • Added support for list() constructs in foreach statements.
  • Added the Zend OPcache extension for opcode caching.
  • The GD library has been upgraded to version 2.1 adding new functions and improving existing functionality.
  • A lot more improvements and fixes.
  • Since then, the PHP Group has been work at work on updating all three major versions of PHP – version 5.3, 5.4 and the latest 5.5 release. Last week, the team released PHP 5.5.1 – a small update that addressed about 20 bugs. One in particular was a bug that was affecting security in the XML sparser.

    They aren’t strictly focusing on version 5.5, however, as the PHP Group also released PHP 5.4.17 in early July. The update fixed about 20 bugs.

    As for PHP 5.3, the team released version 5.3.27 this month as well. They say, however, that it will be the last regular release in the PHP 5.3 series. There will only be security fixes from here on out so Web developers are encouraged to upgrade to version 5.4 or 5.5 immediately.

    If you want to grab any of the above updates, you can access all three at the PHP download page. The Windows binaries are also available there.

  • Unity Game Engine to End Flash Support

    It appears that Apple has been right all along that Flash is not the future of the web. Unity this week announced that it will be phasing out support for Adobe Flash development.

    Unity is a multi-platform game engine that is capable of producing games for consoles, PCs, touch devices, and the web. In particular, the engine has been used to create some of the most popular mobile games in recent years, such as Rovio’s Bad Piggies.

    David Helgason, CEO of Unity, announced in a blog post on Tuesday that the company has stopped selling Flash development licenses.

    Unity will continue to support its existing Flash customers “throughout the 4.x cycle.” Bug fixes will be made in future Unity 4.x iterations, but further development for the Unity engine on the platform has ceased.

    The decision was made, Helgason stated, because of Adobe. Helgason called recent versions of Flash unstable and stated that, “We don’t see Adobe being firmly committed to the future development of Flash.” He also pointed out that Adobe has cancelled the Flash Player Next project.

    Instead of Flash, Unity will be concentrating its development on its own Unity Web Player. Helgason stated that the Unity Web Player is installed on over 200 million computers and is used by one-third of all “Facebook gamers.”

  • PHP Upgraded To Version 5.4.14, PCRE Library Merged

    Those who use PHP are in for a treat this month as the development team has released updates for both the current and old versions, 5.4 and 5.3 respectively, of the scripting language. There’s nothing major, of course, but there are a number of bug fixes that developers should be aware of.

    Starting with PHP 5.4, the latest update brings it up to version 5.4.14. With this update, the team has fixed more than 10 bugs. Here’s the full changelog:

    Core:

  • Fixed bug #64529 (Ran out of opcode space).
  • Fixed bug #64515 (Memoryleak when using the same variablename two times in function declaration).
  • Fixed bug #64432 (more empty delimiter warning in strX methods).
  • Fixed bug #64417 (ArrayAccess::&offsetGet() in a trait causes fatal error).
  • Fixed bug #64370 (microtime(true) less than $_SERVER[‘REQUEST_TIME_FLOAT’]).
  • Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or 5.4.11).
  • Fixed bug #63976 (Parent class incorrectly using child constant in class property).
  • Fixed bug #63914 (zend_do_fcall_common_helper_SPEC does not handle exceptions properly).
  • Fixed bug #62343 (Show class_alias In get_declared_classes()).
  • PCRE:

  • Merged PCRE 8.32.
  • SNMP:

  • Fixed bug #61981 (OO API, walk: $suffix_as_key is not working correctly).
  • Zip:

  • Fixed bug #64452 (Zip crash intermittently). (Anatol)
  • Those who are still on version 5.3, the team has released a smaller update (version 5.3.24) with a number of bug fixes. It also includes the same PCRE library merge that was included in the latest version of PHP 5.4, as well as the same Zip crash bug.

    Core:

  • Fixed bug #64370 (microtime(true) less than $_SERVER[‘REQUEST_TIME_FLOAT’]).
  • Fixed bug #63914 (zend_do_fcall_common_helper_SPEC does not handle exceptions properly).
  • Fixed bug #62343 (Show class_alias In get_declared_classes()).
  • PCRE:

  • Merged PCRE 8.32.
  • mysqlnd:

  • Fixed bug #63530 (mysqlnd_stmt::bind_one_parameter crashes, uses wrong alloc for stmt->param_bind).
  • DateTime:

  • Fixed bug #62852 (Unserialize Invalid Date causes crash).
  • Zip:

  • Fixed bug #64452 (Zip crash intermittently).
  • If you want to the source code for either version 5.4.14 or 5.3.24, you can grab it here. If you need PHP for Windows, you can grab the latest versions here.

  • Mozilla Invites Developers To Build Apps From The Future

    Mozilla joined forces with the National Science Foundation in June for Ignite. The project asked for app ideas from the general public that would help humanity in a positive way. These apps were to be envisioned with the “faster, smarter Internet of the future” in mind. The winning ideas have now been announced, and Mozilla now wants to make the ideas a reality.

    Mozilla announced that the development round of Ignite is now open. The winning ideas from the Brainstorming Round have been decided, and Mozilla is sitting on $485,000 in funding to help turn these ideas into real apps that will help humanity embrace the future.

    The list of winning ideas are all worthy goals that any altruistic developer would love to help with. The ideas range from helping firefighters save lives to creating smart streets to compliment the driverless cars that will soon dot the roadways of California.

    Here’s the full list of winning Mozilla Ignite ideas:

    Real-Time Emergency Response Observation and Supervision
    Real-time 3D Interactive Telepresence
    Remote Process Control Using a Reliable, Real-Time Protocol
    Long-Term Monitoring and Crisis Management System
    High Quality Open Source Web Conferencing
    Kinect Health 3D
    Smart Streets for Smart Cars
    The Rashomon Project: “Multi-Perspective Chronology”

    These ideas are just the beginning of something greater. The National Science Foundation has said that their goal is the creation of 60 “transformative apps” over the next three to five years. It’s an ambitious project that may just succeed if Web technologies and Internet speeds continue to grow at their current rate.

    Interested developers can submit their bid to help start building one of the above apps right now. They can also submit entirely new ideas for the next round of funding. Mozilla and the NSF are in this for the long run. You can help shape the future of the Internet and how it impacts our lives in a positive way. Might I suggest an app that displays pictures of cute animals to give depressed office workers a glimmer of hope in their otherwise abysmal existence.

  • Calling All Ladies: Hack Away At LinkedIn’s DevelopHer Hackday

    One of the major problems facing the technology industry today is a lack of women. Every position from management to the coders are predominantly male and that’s a problem. All the lady geeks I know are fantastic at what they do and bring a vibrancy to their work that I just don’t see often enough in men. That’s why it’s super fantastic that LinkedIn is taking some initiative to encourage women to develop and code.

    LinkedIn announced a while back that they would be hosting a global hackday in Mountain View from June 30 to July 1. The event was aiming to inspire women to put their coding and development skills to the test as they work on new projects during the weekend. The excitement and demand for the event was apparently through the roof, so LinkedIn will be holding a separate hackday in Delhi, India during the same weekend.

    Both events will be the same – teams or solo participants will have one day to build something great. The event is more about meeting other women developers, but LinkedIn has a few more incentives besides having an awesome night on the code with your fellow ladies. They promise that yoga and prizes will be available as well.

    The Mountain View hackday has also announced its four judges. Keeping with the spirit of the event, all of them are major players in the tech industry who happen to also be women. The four judges are Christina Allen (Director of Product Management at LinkedIn), Gina Bianchini (Founder and CEO at Mighty Bell), Megan Quinn (Partner at Kleiner Perkins Caufield & Byers), and Rashmi Sinha (CEO of Slideshare).

    All women of all skill levels are invited to both hackdays. They encourage the experienced developers and designers to be tutors to amateurs and those just starting. It should start the foundation for long lasting relationships that may bud into mentorships. It’s all about getting women more interested in technology and computer science. I hope the events go well, especially the hackday in India.

  • Facebook’s Ringmark Goes Completely Open Source

    HTML5 and Open Source software are the future. Even if the old guard of software development don’t want to admit, it’s an inevitability. Facebook has helped move us along towards the future of Web and the power of the mobile Web with its Ringmark tool. Now the social network is giving Ringmark to the people.

    Facebook announced yesterday that they would be completely open sourcing the Ringmark tool. Previously, Ringmark had some of its core functionality, including its tests, go open source, but the entire software suite is now open source. Interesting developers can get the code on github right now. The rest of us can laugh at how our browsers still can’t pass the ring one test on rng.io.

    Speaking of not being able to pass the ring one test, Facebook has changed up the actual test to add in a benchmark for drawing performance. A browser that wants to pass the ring one test must be able to animate 50 sprites at 30 frames per second. A browser that wants to pass the ring two test must be able to animate 100 sprites at 30 FPS.

    One of the major problem areas right now lies in mobile browsers. They just aren’t fast enough to handle a lot of HTML5 games. Facebook, in their ongoing work with mobile, realizes this and will be implementing more tests in Ringmark soon to better test mobile browsers. Going open source also lets developers use Ringmark themselves and test for their own needs on mobile platforms.

    IDC also published an infographic last month that looks at how HTML5 is evolving the mobile platform. Facebook’s Coremob community along with Ringmark has contributed to the number of HTML5 mobile developers that are pushing the Web as the next big platform.

  • Chrome Web Store Gets New Developer Features

    The Chrome Web Store is one of the nicer things about Google’s browser that really gives it an edge over the competition. Mozilla will be launching its own Firefox app store soon and Windows 8 has the Metro app store. Google is going to have to kick it up a notch to stay ahead.

    In the spirit of staying ahead, Google has announced three new features hitting the Chrome Web Store today. The new features should benefit both the consumer and the developer in creating and delivering content across the Web.

    The Chrome Web Store is now available in six additional countries – Turkey, Ukraine, Egypt, Saudi Arabia, Morocco and the United Arab Emirates. Consumers in these countries can now start to download apps. The bigger benefit, however, comes in the form of developers from these countries being able to sell apps on the Chrome Web Store to a global audience.

    One of the nice things about the Chrome Web Store is that some developers allow their apps to work offline. A major problem arose in the form of not knowing which apps worked offline though. To combat this, Google has added a special collection called “Offline Apps.” Developers can easily add their apps to this collection by adding the offline_enable flag to their app’s manifest file.

    The final feature is for developers only and it’s a good one at that. The developer dashboard now features a graph that shows you how many times an app has been viewed versus the number of installations. In typical Good Guy Google fashion, developers can already view up to 90 days of history via the graph. That history will probably be increased in the future according to Google.

    Chrome Web Store Gets New Developer Features

    Like I said, these features benefit both the consumer and the developer. While Mozilla and Microsoft still have some work to do on their respective app marketplaces, Google has the head start. That puts them into the enviable position of being able to immediately respond to any potential innovations implemented by the competition.

  • Adobe ColdFusion 10 Launches With Increased HTML5 Support

    Adobe ColdFusion 10 Launches With Increased HTML5 Support

    After coming off of the successful launch of Creative Suite 6, Adobe has not been resting on its laurels. They’re back again with another product release that should go hand-in-hand with CS6’s HTML5 features.

    Adobe announced today that ColdFusion 10 is available to Web developers. If you’re familiar with ColdFusion, then you should know that it’s Adobe’s server side technology for developers to create Web applications using the Java EE platform. The big addition this time is increased HTML5 support.

    Adobe boasts that the newest version of ColdFusion 10 accelerates the Web development process by reducing “complex business logic into a few lines of code.” It does through the power afforded by HTML5 including Web-sockets, video players, geo-tagging and interactive charting.

    “In the world of rich internet applications, the latest HTML5 standards are pushing the limits of what developers can achieve on the Web,” said Tridib Roy Chowdhury, senior director of Products & GM-Web and eLearning, Adobe. “With the increase of content consumption on mobile devices and tablets, it has become critical for companies to provide a rich and consistent brand experience on mobile. Adobe is at the forefront of the HTML5 revolution, and ColdFusion 10 delivers the first server side solutions to help develop interactive HTML5 applications to deliver richer user experiences across multiple screens from desktops to tablets and smartphones. In ColdFusion 10, we’ve focused on helping enterprise Web developers improve their productivity in development, deployment and maintenance and helped them easily leverage the latest technologies of the day.”

    As mentioned, the biggest new feature is HTML5 integration. While providing all of the above technologies powered by HTML5, it also gives developers a choice in terms of publishing. They can either push out data to multiple clients or go for a point-to-point data push.

    ColdFusion 10 also promises to be the fastest version of the software yet. It has replaced Adobe’s JRun software with the open-source Tomcat to increase the performance of ColdFusion. The move to Tomcat brings with it a large development community that will keep it up to speed with the latest Web standards.

    The newest version of ColdFusion also comes with access to a large repository of client-side HTML5 charts. Developers can easily implement them into their apps using the built-in chart functionality. These charts can also run in Flash so more reason to integrate CS6 with ColdFusion 10.

    Following the example of Flash’s latest update method, the ColdFusion Administrator will now notify developers when updates are available. Developers can also opt-in for the one-click Hotfix installer to save time.

    As always, new versions of Adobe products come with a wide range of security enhancements. ColdFusion 10 is no different as it utilizes the latest security standards to protect applications from cross-site scripting and cross-site request forgery.

    ColdFusion 10 is available in three editions with one of them being free. The Enterprise edition of the software will set you back $8,499 while the standard edition is a bit more manageable at $1,499. The developer edition which can only be used for development purposes is free to download and use. As with other Adobe products, customers who have previous editions of ColdFusion will be able to upgrade at a much lower cost.

    If you want a more visual guide to the new features in ColdFusion 10, check out Adobe’s video guide.

  • Microsoft Announces Windows Azure Media Services

    Microsoft definitely needs to give its cloud network – Windows Azure – a kick in the pants. If it wants to compete with the likes of Google’s and other cloud businesses, it’s going to have to step up its game. Microsoft announced its solution this morning – Windows Azure Media Services.

    Microsoft says the new service is exactly as it sounds. It will be a collection of various media services that will all be accessible via the cloud. Those media services according to the official page are encoding and format conversion, content protection, on-demand streaming and live streaming. This content can be delivered to everything from desktops and laptops to game consoles and tablets.

    Windows Azure Media Services is held up by three pillars that define the platform – partner-extensible, richly programmable and automatically scalable. These three features are what Microsoft hopes will define Media Services and tempt users away from the other already established services.

    The first pillar, partner-extensible, means that the Media Services platform is open to many partners and their components. It provides a “common interface for all media processing elements” so that any third-party component can be integrated with little to no hassle. The other big advantage is that any third-party component can be made to work with any other component in the system which makes compatibility the name of the game in the Media Services platform.

    The next pillar, richly programmable, has the Media Services team crafting a wide array of REST-based APIs alongside a .NET client library. This will give developers a lot of choice when building media workflows. It also ties into the first feature by powering the software that makes all the components seamlessly work together. The other big feature is that developers can “programmatically automate workflow management,” so developers can focus on building customer services that run on top of everything.

    The final pillar, automatically scalable, is what Microsoft feels will set them apart from competing services. Media Services can be scaled to accomodate any workflow regardless of size. The system uses a “advanced SLA scheduling mechanism” and “access to an infinitely scalable set of cloud resources” to provide the Media Services platform to any project whether it be corporate or personal.

    This is a big step for Microsoft, but only time will tell if it’s ultimately successful for them in the end. Having an automatically scalable system is pretty exciting and one that I think would, as Microsoft claims, “revolutionize the way the world thinks about media.” It all depends on Microsoft’s own ability to market Windows Azure though. Besides corporations and government entities who use Azure, does the average Joe actually know or care?

  • Google to Add Breadcrumb URLs to AdWords

    Google will soon begin to implement “breadcrumb trails” into their text AdWords ads. Breadcrumb trails refer to a set of links that show the path to various categories within a website. In the Google-provided example, a shoe site ad could have breadcrumb links to the subcategories of “women’s shoes” and “sandals”:

    The example image below is from a Google support page for AdWords describing the feature as a component of a text ad. The feature has not been officially announced by Google and the only information on it is the AdWords support page and a support page for webmasters. The webmaster support page describes the rich snippet code that can be inserted into a website to enable use of the breadcrumbs feature. The breadcrumbs will taken from annotations on the landing page for ads, putting webmasters in control of what breadcrumb links are created, if any.

    Google's new breadcrumb links

    The existence of these mentions on support pages means Google is prepared to launch the feature soon, as the company has a history of publishing support pages ahead of product launches.

    The AdWords support document makes it clear that clicks on breadcrumb links count the same as clicks on normal cost-per-click (CPC) ads. This means customers will be charged the same amount whether a click occurs on a breadcrumb link or headline. That shouldn’t deter any advertisers, though, whose goal is to get customers onto their site in any way possible. More links in an ad means more ways to get to their site.

    What do you think? Will the new breadcrumb trails increase clicks for AdWords text ads? Are you planning to implement them for your site? Let us know in the comments section below.

    (via Search Engine Land)

  • Blekko Partners with Stack Overflow for Programming Queries

    Blekko just announced it is now using the Stack Overflow community to help improve and maintain programming-related slashtags for its search engine. Stack Overflow, if you’re unfamiliar with it, is a programming Q&A site built by programmers for other programmers. 

    Stack Overflow, a representative for Blekko tells WebProNews, has "quickly risen to become the pre-eminent programmer community on the Web and will now help Blekko return only the most relevant programming search results."

    "This is just another one of Blekko’s search partnerships (following DuckDuckGo in November) and more in the pike," she adds.

    "At Blekko, we pride ourselves in returning the very best results in specific verticals by eliminating spam," says Blekko CEO Rich Skrenta. "We turned to the experts at Stack Overflow to help us edit all of these tags and curate the best programming search verticals out there."

    Watch our recent interview with Skrenta:

    "Stack Overflow is designed to provide programmers with the best, fastest answers from their peers," said Jeff Atwood, CTO of Stack Overflow. "We’re collaboratively built and maintained by people who write code because they love it and are thrilled to share this knowledge with Blekko’s community by offering up our most trusted contributors to curate only the best results."

    Blekko recently banned 20 content farms from its index, and is clearly placing a heavy emphasis on providing quality search results. DuckDuckGo is following a similar path, by "hard-wiring" in zero-click answers to a number of queries from 40 different sources. More on that here

    Meanwhile, Google released a new Chrome extension to try and crowdsource part of its own search quality strategy.  

  • Facebook Registration Plugin for WordPress Launched

    Last week, Facebook launched a new registration tool for site owners. With this, users can quickly sign up for new sites with their Facebook profiles. The tool goes beyond the simple log-in feature of Facebook Connect, and lets users more easily fill out forms based on the information that they’ve already shared with Facebook (such as email address, name, birthday, phone number, etc.)

    WebProNews and the iEntry Network have launched a new WordPress plugin utilizing this tool. With WordPress being the most popular blogging platform, and Facebook being the most popular social network, we think a lot of people will be interested. 

    Facebook Registration Plugin for WordPress

    "Registration is an integral part of any web presence," says Mike Marr, who developed the plugin. "It puts a name to our virtual guests – an otherwise very difficult task." 

    "Facebook’s Registration Tool gives developers a familiar face from which users are encouraged to register, all the while streamlining the process for the vast number of existing Facebook users," he adds. "It makes sense that you would want this tool as a part of any website, including those powered by WordPress. Thus, we simply put the pieces of the puzzle together, and want to share with the community what we’ve come up with."

    As Facebook’s Paul Tarjan explained when the company launched its tool, it can minimize the friction associated with signing up for a new account. That means a possible increase in conversions.  

    Install the plugin from your WordPress back-end, or download it from WordPress here. To activate it, use the "plugins" menu option in your admin control panel. You’ll see a "Facebook Registration" options page under settings. Just enter your Facebook App ID and App Secret here. 

    Screenshot of Facebook Registration Plugin for WordPress Settings Page

     The WordPress plugin requires WordPress version 3.0 or higher. Of course we would love feedback on the plugin, so if you have any comments or questions, or have issues with it, email developer Mike Marr at marr@beyondwp.com.

    More info about the plugin can be found at BeyondWP.com.

     

  • Google Open Sources More of Wave So Developers Can Take Advantage

    Google has given an update on its immediate plans for Google Wave. As you probably know, the company recently announced that it would be shutting down Google Wave as a standalone product, thought Google said it would preserve the technology behind Wave for future use and integration with other Google products.

    Google announced that it will expand upon the 200,000 lines of code that it has open sourced already, to "flesh out the existing example Wave server and web client into a more complete applicatino or ‘Wave in a Box’".

    Google Wave - Around just a bit longerThe project will include:

    • an application bundle including a server and web client supporting real-time collaboration using the same structured conversations as the Google Wave system
    • a fast and fully-featured wave panel in the web client with complete support for threaded conversations
    • a persistent wave store and search implementation for the server (building on contributed patches to implement a MongoDB store)
    • refinements to the client-server protocols
    • gadget, robot and data API support
    • support for importing wave data from wave.google.com
    • the ability to federate across other Wave in a Box instances, with some additional configuration

    Google stresses that the project won’t have full Google Wave functionality, but it will give developers and users a way to run Wave servers and host waves on their own hardware. This should please some IT departments.

    It still remains to be seen what other Google products Wave technology will appear in.