DZone
Web Dev Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Web Dev Zone > PHP-GTK to HTML5: coordinating technologies for better remote access

PHP-GTK to HTML5: coordinating technologies for better remote access

John Esposito user avatar by
John Esposito
·
Oct. 27, 11 · Web Dev Zone · Interview
Like (0)
Save
Tweet
5.33K Views

Join the DZone community and get the full member experience.

Join For Free

Running applications on one machine while displaying the user interface on another is nothing new.

There are two basic ways to do this: first, transmit an image of the server screen to the remote client; and second, send rendering instructions from the server to the client machine.

The second way is obviously much more bandwidth-efficient. Even when the transmitted image is nicely compressed (e.g., JPEG), image data will always be much larger than simple rendering instructions.

UNIX's X has used the rendering-instruction method since 1984. The problem with using X over the Internet has to do with security: X has nothing to do with HTTP, but tightly locked-down servers on the Internet will often try to allow as little non-HTTP traffic as possible. The result is that the much less efficient first method, the image-transmission method, has been used in popular Internet remote desktop applications (e.g., VNC).

Now comes an article from Manuel Lemos showing how the slow-developing PHP-GTK project -- language bindings allowing GTK+ apps to be written in PHP -- could be combined with some new features of GTK+3 (specifically the wayland and broadway graphical-output backends) to create highly efficient, X-like remotely served applications...




...and then display those PHP-written desktop apps in a browser using HTML5 Canvas.

So: bandwidth-efficient remote desktop via browser; no special client software necessary.

As a one-time remote desktop support tech, I totally love this idea.

Some practical stumbling-blocks remain, though. In particular, Manuel notes:

It may not be hard to make [PHP-GTK] work with GTK+ 3 too but the fact is that currently there is not much development going on in the PHP-GTK project. A group of motivated developers would need to get back to the project and update it to make it run with GTK+ version 3.

 
If you're interested and maybe even inspired, check out the full article.

HTML workplace

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Why I'm Choosing Pulumi Over Terraform
  • Modern REST API Design Principles and Rules
  • Application Scalability — How To Do Efficient Scaling
  • How to Hash, Salt, and Verify Passwords in NodeJS, Python, Golang, and Java

Comments

Web Dev Partner Resources

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo