Thursday, October 31, 2013

Browser Plugin Selection

Objective:



The Objective of this plugin is to launch the bride from browser and to stop when not in use. There are few options to develop this plugin this document will explain the thought process that went through in selecting the plugin.

Options:

  1. Natively Craft
Approach:
        • Create plugin using NSAPI plugin
        • This approach is very cumbersome
        • discounting this approach


  1. Juice Framework
JUCE (Jules' Utility Class Extensions) is an all-encompassing C++ class library for developing cross-platform software.


Comments:


      1. Seems to be designed for cross platform UI development like QT framework and not specifically for plugin development

Comments:
      • It’s a template engine which generates the necessary boilerplate code for all browser and platforms
      • I have tried the simple plugin and it seems to work fine  on ie,firefox and chrome
      • Seems well supported by the community
      • love this framework !!!!


      • not yet
  1. PPAPI -> Extension to NPAPI by google



Getting Started with Firebreath










Links



does not work

Working on this now:


C:\Users\salagappa\Downloads\process -google\boost\process


added  WIN32_LEAN_AND_MEAN in cricut precompile
http://boost.2283326.n4.nabble.com/quot-WinSock-h-has-already-been-included-quot-problem-with-asio-and-VC-2010-td3574900.html#a3575268





Errors:


  • I did face _USRDLL not defined error while building the DLL Solution : define this in Projects









Demo:






TODO:
  • Need certificate to sign the browser plugin
  • User Experience : some users may be turned off with plugins because of security considerations
  • Single Installer package for better user experience
  • Develop installer for windows and Mac
  • How does reload and install experience look like
  • Licensing


Reference:


http://www.boost.org/