Skip to content

joltdx/sapui5-mandelbrot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sapui5-mandelbrot

SAPUI5 shenanigans - Mandelbrot fractal in sap.m.Table

Learning by doing.

This is not right.

But it's fun.

image

Why?

To get a deeper understanding of how the SAPUI5 works and the different ways of accomplishing things, I decided to go through the SAPUI5 Walkthrough again and dig deeper beyond what was explained. I also wanted some kind of resource to go back to in order to see how I did things in different ways.

One way of learning is to push things, break things, and put them together again, and in some ways I kind of did that here.

And since I experienced a new-found appreciation for fractals recently, why should I not render a Mandelbrot set in a SAPUI5 sap.m.Table? (I don't think the Fiori design guidelines strictly forbids it, but if this is a business requirement, maybe SAPUI5 is not the best choice for it)

What this is not

Just to be safe I would like to mention that this is not good design, and there is a lot of mixing and matching of techniques inside here. I would prefer a solution to be consistent, but this was for learning and experimenting which is why. Don't do it like this for real. :)

What this is

I wanted to make a resource for myself to refer to when future needs require some of the techniques used here, and why not share such a thing? If this can be useful for others, then it's all good. I haven't really documented this whole thing though (yet?) so there might be some investigation needed... :D

I wanted to do these things:

  • Understand where to look for documentation and information
  • Using the XMLView concept to separate the different views in different artefacts.
  • Declare components directly in the view
  • Programmatically add components from the controller
  • Use a Fragment
  • Have the fragment talk with the view that called it
  • Use CSS to impact the look and design of things

I want to do these things "sometime in the future":

  • Also mix in real data bindings from oData, and other souces
  • See if a mock server can be used to generate the mandelbrot data
  • Making custom controls
  • Unit tests
  • Please recommend me more... :)

Resources used and/or recommended

Learning SAPUI5 for Beginners on SAP Community

SAPUI5 Demo Kit step by step walkthrough

YouTube video as a walkthrough of the SAPUI5 walkthrough

SAPUI5 API Reference Documentation

Descriptor for Applications, Components, and Libraries(manifest.json)

Libraries and themes

UI5 init and UI5 serve

About

SAPUI5 shenanigans - Mandelbrot in sap.m.Table

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published