Source language: Translate to:

Graphical plugins?

General questions about NeoAppBuilder - our rapid application development tool for building HTML5, web and mobile apps.

Moderator: Neosoft Support

Graphical plugins?

Postby HPW » Tue Jan 05, 2016 10:13 am

Hello,

I understand to use the plugin Generator to make a code-plugin to wrap JavaScript-code into neoscript.
But is there a conzept/plan to make graphical plugins like I can do it with neobook5 SDK ?
Would we use a placeholder-object like neobook's rectangle object in the editor to replace it on runtime with other kind of objects?
So can a plugin-author provide new objects which are not supported by neoAppBuilder?

Regards
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Graphical plugins?

Postby Gaev » Tue Jan 05, 2016 12:23 pm

Hans-Peter:

Would we use a placeholder-object like neobook's rectangle object in the editor to replace it on runtime with other kind of objects?
So can a plugin-author provide new objects which are not supported by neoAppBuilder?

Since you can use Javascript to create an element, give it style (css) and define event handlers, could you not build a plug-in that is called (say in the Page Enter section) with a reference to the target element (which would act as the container for your graphical/other element.
User avatar
Gaev
 
Posts: 3738
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada

Re: Graphical plugins?

Postby Neosoft Support » Tue Jan 05, 2016 7:40 pm

Yes, there are plans to provide a method for adding new objects via plugins.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5605
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Graphical plugins?

Postby luishp » Wed Jan 06, 2016 12:26 am

Regarding graphics I am currently doing some experiments with the <canva> HTML5 tag and Fabric.js library (http://fabricjs.com)
I have had success inserting new objects. Perhaps I will try to develop a Plugin as a wrap to this library as it seems quite useful.
Luis Hernández - SinLios Soluciones Digitales
http://sinlios.com
User avatar
luishp
 
Posts: 361
Joined: Wed May 23, 2007 10:17 am
Location: Spain

Re: Graphical plugins?

Postby Neosoft Support » Wed Jan 06, 2016 8:39 pm

Fabric.js looks really interesting.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5605
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Re: Graphical plugins?

Postby HPW » Thu Jan 07, 2016 4:47 am

Yes, looks interesting. There are several js-libs wrappers for canvas.

Another one: http://projects.calebevans.me/jcanvas/

Regards
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Graphical plugins?

Postby HPW » Thu Jan 07, 2016 7:32 am

Hello,

A nice articel about comparing a few vector-libs:

https://www.smashingmagazine.com/2012/0 ... g-raphael/

http://zgrossbart.github.io/3gears/

Regards
Hans-Peter
User avatar
HPW
 
Posts: 2521
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: Graphical plugins?

Postby Gaev » Thu Jan 07, 2016 2:55 pm

In addition to ...

http://fabricjs.com/ ... identified by luishp
http://projects.calebevans.me/jcanvas/ ... identified by Hans-Peter

... my bookmarked collection of components available in this category are ...

http://createjs.com/easeljs
http://www.svidget.com/
http://svgjs.com/
http://konvajs.github.io/
http://tympanus.net/Tutorials/AnimatedTextFills/
http://alexk111.github.io/SVG-Morpheus/
http://creativefan.com/20-shockingly-co ... lications/
http://html5gallery.com/tag/canvas/page/5/
http://www.queness.com/post/3885/8-simp ... animations

... and for those wanting to learn the raw basics ...

http://www.html5canvastutorials.com/
http://www.w3schools.com/html/html5_canvas.asp

... this collection, along with my previously posted (Bootstrap) collection here ... viewtopic.php?f=38&t=21350&p=11218817#p11218817 ... might be best saved in a subForum of its own ... so we can all share our known "goodies" that can be incorporated into NAB ... either hand-crafted or via Plugins developed for them.
User avatar
Gaev
 
Posts: 3738
Joined: Fri Apr 01, 2005 7:48 am
Location: Toronto, Canada


Return to General NeoAppBuilder Discussion

Who is online

Users browsing this forum: No registered users and 2 guests