How do you load KitchenSink in Sencha Architect? - sencha-architect

Sencha Architect allows you to import projects easily. However, the program requires the project to be archived as .xds or .xda. How do I do that for the default projects like KitchenSink, Kiva, etc.?

Thiem is correct, the well know kitchen sink demo is not an architect project so it can not be imported. However there are several demo projects both for Ext.js and Touch. You can grab them at Sencha Architect repository on Github. More information on Example Projects can be found in the Sencha Architect documentation.
I hope this helps.

Kitchen Sink and Kiva are just normal Sencha Touch projects. If they are not developed with Sencha Architect (and later packaged in a .xds or .xda file), there's no way to open them in Sencha Architect since it does not understand how to "interpret" your pure Sencha Touch code into Sencha Architect component and configs.

Related

Cannot import ViewFrame in Vaadin 14.6.8

I'm quite new to Vaadin and currently developing with Vaadin 14.6.8. I tried to use ViewFrame in my project, but my Eclipse seems does not recognized it. I tried to find where this class located and its package online but not found any useful information. Is it a paid version of Vaadin feature?
My Eclipse shows: ViewFrame cannot be resolved to a type
Thanks.
ViewFrame is a helper class that isn't part of the core Vaadin platform but instead belongs to the commercial Business App starter that provides a highly opinionated starting point for Vaadin applications.

Web based Oracle Scene Builder analog

I want to provide an ability to create simple java and javafx applications to the users on my website. I've found excellent code editor (Ace) but I don't know how to provide FXML design tool to the Web users.
Is there any options?
ADD I want the users to use this interface builder without any additional requirements like Java 8 or something
How to host SceneBuilder in a web page (requires Java 8):
Build SceneBuilder from it's source.
Package it as a Browser Embedded Application.
Host your packaged application on the Internet and direct web users to its URL.
Other than using a fork of SceneBuilder for your project, I don't know of any other feasible way to provide visual FXML editing capabilities. I would certainly not recommend trying to create from scratch your own FXML visual editor written in either Java or JavaScript.

How is your approach for creating your own set of controls aka own Extensions Library?

What is your approach for creating your own set of controls aka own Extensions Library? After a few years of Xpages development we have a huge set of controls that are general purpose for building UI, some web services etc. (Probably as most other developers.) When we start a new project now we have to copy the entire stuff from one database to new one which involves controls, jars, css, images, JAVA code ... and then you completely loose control to maintain some central version of this controls & codes, everything is scattered among several projects/databases and things get messy fast.
We have thought about creating our own extension library as described here
http://www-10.lotus.com/ldd/ddwiki.nsf/dx/Master_Table_of_Contents_for_XPages_Extensibility_APIs_Developer_Guide but there is not enough documentation for this topic and the entire development process is quite complicated (at least seems to me. I tried two times based on docs above going through eclipse plugin project -> feature project -> update site and still having some bugs around)
What is your experience and approach for creating and maintaining shared Xpages controls in your Domino environment? Is there some hidden feature we miss here that can help us?
Take a look at the XSP Starter Kit on OpenNTF and the XPages SDK to setup an eclipse environment for plugin development. You'll also want Eclipse IDE for RCP and RAP Developers. Install the starter kit and SDK into eclipse and you should be all set.
The starter kit is a sample plugin with all kinds of examples of phase listeners, components, etc. Once you want to deploy your plugin, create an update site from within eclipse and use the Update Site NSF available on your server install to place your update site. Once that's done, you can replicate that NSF to any other servers that may need the plugin.
For more information about the starter kit, take a look at this slide deck. There is also a github project for the starter kit. Documentation for the XPages SDK can be found here. And a video for setting up the SDK is available on youtube. Lastly, here's the documentation for setting up the update site NSF.
While we haven't gotten to that yet in XPages, our model for regular Notes design elements is to have a central template that contains the elements that are shared, with those specific design elements marked to inherit from that template. Sometimes, a database inherits design elements from two different central templates.
That way, those centrally controlled design elements remain the same in all databases.
I would recommend looking at some example's on github for how they have library/components setup. One of the more simpler examples that has just a single component built into a Library is Steve Pridemore's App Layout Extension...https://github.com/DominoDev, Another good one is Nathan Freeman's Starterkit: https://github.com/the-ntf/xspstarterkit. Hopefully these will help you get the file structure down on which files you need and how they work.

Open source framework to build Web based BPMN designer

We have already built a BPMN designer on eclipse framework.It was easy to build with great support from eclipse based frameworks like EMF, Graphitti etc.
Now we want to build a web based BPMN designer. Can you suggest which open source frameworks i can use to do this ? I would expect the framework to support me in defining the bpmn metamodel, a graphical editor ect etc
Please share your ideas.
Oryx / Signavio Core Components
The Signavio Core Components are the "sucessor" of Oryx. A github mirror is available there: https://github.com/IAAS/signavio-core-components/
The Signavio Core Components switched from MIT to GPL license. Furthermore, they are unmaintaned.
Forks
Wapama is a fork of Oryx. It seems that https://github.com/saifulomar/process-designer is the most recently updated fork with a tight JBPM integration.
Gemsbok is another fork of the Signavio Core Components.
process-designer seems to be actively maintained (as of 2013/06)
The dependency to ExtJS was removed in the context of the Flowable project. See https://github.com/flowable/flowable-engine/tree/master/modules/flowable-ui-modeler/flowable-ui-modeler-app/src/main/resources/static/editor-app/editor for the current source.
Eclipse Stardust / Lightdust
There is also recent by the Eclipse community. Within the Stardust project, there is a web-based BPMN Modeler, accessible via git: http://git.eclipse.org/c/stardust/org.eclipse.stardust.ui.web.git/tree/stardust-web-modeler-bpmn2. Some basic information is in the Stardust Wiki, but no step-by-step-guide for using the web-based BPMN modeler standalone.
Self-implemented
We made a comparison of all available web-based graph-libraries at https://ultimate-comparisons.github.io/ultimate-graphframework-comparison/.
Example code of the best ones is available at
https://winery.github.io/javascript-graph-library-comparison/. The idea is similar to TodoMVC, but here a minimal example for graph creation is made.
(Some old comments follow)
jsPlumb-based
There is the project https://github.com/Dzhyrma/BPMN_Modeler, which is based on jsPlumb. It includes raphael, which is a SVG-based graph-drawing library.
Direct canvas drawing
https://github.com/hallodom/BPMN-Modeller directly uses the 2d canvas to draw BPMN.
http://bpmn.io/
is the best answer if the license terms (include logo) work for you.
There is already one. Oryx. I believe some of the open source bpmn engines leverage the same.
For Stardust Web based BPMN modeller step-by-step usage, please refer to thsi link:
http://help.eclipse.org/kepler/topic/org.eclipse.stardust.docs.analyst/html/handbooks/modelling_analyst/models/model-preface.html?cp=52_7_3

Where to find references for Sencha Touch

I wanted to learn Sencha touch. the problem is i don't know Ext JS programming. I have intermediate background with jquery, html, php ad sql. I also have started using jquery mobile and phonegap, but I found that jquery mobile has loads of bugs so I decided to give sencha touch a try. I have checked their well documented API docs but I find it difficult to understand the flow and the syntax.
I also found the book Sencha In Action by manning publications but it looks like this is not out for public use yet.
Can anyone with good knowledge about sencha direct me the better way to start? Do I have to learn Ext JS first? I found loads of books about Ext JS in amazon. A beginner's approach would be helpful.
Many thanks all.
I personally recommend you to follow this tutorial step by step. It helped me a lot. Thanks to Jorge for his wonderful example.Here is the link.
http://miamicoder.com/2011/writing-a-sencha-touch-application-part-1/
Some people will say you should check out the Ext JS books to establish a foundation with the framework first as the two are very similar. However, I would recommend that while that may be fine for most folk, you would now be learning two frameworks. They are siblings, not twins.
Have a look at the Sencha Touch Cookbook that was just published, follow the tutorials and cruise the threads, both here and the Sencha Forum.
Also note that Sencha Touch 2 Beta 1 was just released yesterday and it is way closer to Ext JS4 than ST1 and if you start with ST2, you might be better off going this route.
http://www.packtpub.com/sencha-touch-for-creating-cross-platform-html5-apps-cookbook/book
http://www.sencha.com/blog/sencha-touch-2-raising-the-bar/

Resources