Cloud | Coding | Community | Desktop Client | development | News from ownCloud | ownCloud

ownCloud 7 Sneak Peek: ownCloud 7 for developers

ownCloud 7 is less than a week from now, and we’ve been doing some sneak peeks to give you insight in the many new features and improvements. This final installment is for developers: what has changed for ownCloud app developers and coders writing ownCloud support into applications? Integration An important area of changes in this […]

create!ownCloud 7 is less than a week from now, and we’ve been doing some sneak peeks to give you insight in the many new features and improvements. This final installment is for developers: what has changed for ownCloud app developers and coders writing ownCloud support into applications?

Integration

An important area of changes in this release allows better ownCloud integration in applications.

For native/desktop applications, the Overlay Icon API was introduced. Now that the shared folder has been removed from the ownCloud file view, users will need a visual representation in the desktop client to indicate which files are owned by the user, and which files are shared with the user but owned by someone else. This API provides the desktop and mobile clients with the ability to know which files are shared, so that the desktop client and mobile app can place the shared file or shared folder icon appropriately on files stored on ownCloud files.

For ownCloud App developers and integrators Webhooks enable easier ownCloud integration into their applications and tools. It follows a publication / subscription model (pubsubhub) where apps can publish an event, and other apps can subscribe to this event. Developers create an app that registers itself with the published event manager. From that point forward, any time the event occurs, a POST is made to the URL provided by the subscriber to notify them of the event. Apps can subscribe to the notification event, unsubscribe, set a URL to respond to, set a lease time for the subscription, and provide an optional digest used for security purposes.

Get your ownCloud apps!

Build your ownCloud app!

Easier development

Another main area of improvement is better access to the ownCloud innards, making it easier and faster to write apps or talk to the database. The most important changes:

  • Better controllers for App Framework
    We provide an easier interface to implement controller classes, making app development a little easier.
  • Simple database layer for App Framework
    This makes it easier for app developers to interact with the database, not requiring them to write all SQL statements by hand. See here for documentation.
  • Support DB connections via sockets
    We can now connect to MySQL via sockets, not just through the network layer.
  • Easy CORS implementation for App Framework
    The CORS implementation allows a developer to implement a web api which can be used by other pages/apps running on a different domain. By default today’s browsers disallow communication to other domains. CORS allows more flexibility than only same-origin requests, but is more secure than simply allowing all such cross-origin requests.
  • Up to date app development documentation
    Last but not least, the developer documentation got updated, providing a big help for app and core developers. Get started here!

ownCloud 7 is not just exciting for users and administrators: it brings significant improvements for developers. We are looking forward to see what apps and functionality you come up with! And remember, there is an ownCloud Contributor Conference coming in about 5 weeks, where you can get involved in coding ownCloud apps, third-party integration and data syncing.

These are all the sneak peeks we released:

Find more details on owncloud 7 in the feature list!

You can discuss the features of #owncloud7 on twitter, Google+ and Facebook and don’t forget to tell others about this ownCloud release!

Share this and other sneak peeks, follow us on Facebook, Twitter and Google Plus and share their messages.

ownCloud

July 17, 2014

Read now:

ownCloud Appoints David Walter as CXO

ownCloud Appoints David Walter as CXO

ownCloud, provider of the open source content collaboration platform of the same name, is strengthening its strategic focus on customers and sending a clear signal: With the newly created position of Chief Experience Officer (CXO), the company aims to continuously improve the customer experience and promote consistent communication with all stakeholders.

read more