Book a Demo

Author Topic: Book about Shape Script  (Read 7014 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Book about Shape Script
« on: January 15, 2014, 03:46:17 am »
I have started writing a tutorial about Shape Scripts. I hope to be able to publish a pre-release next week or so.

https://leanpub.com/shapescript

q.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Book about Shape Script
« Reply #1 on: January 15, 2014, 07:05:02 am »
Hi,

good idea. It's the boost to make models user friendly.

I also appreciate your other books.

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: Book about Shape Script
« Reply #2 on: January 15, 2014, 09:40:57 am »
Here's a little shape script for your perusal.

We wanted to distinguish between stakeholders (who aren't actors) and other actors.

Hence the following little blue guy:

shape main
{      
      // Blue Person by Andy J;
      setfillcolor(0,192,255); // (R,G,B)
      setpencolor(0,192,255);
      ellipse(70,-15,90,20);  // (x1,y1,x2,y2)
      rectangle(60,25,100,75);// (x1,y1,x2,y2)
      rectangle(70,75,90,110);
      setfillcolor(255,255,255);
      rectangle(80,75,82,110);
      rectangle(66,40,68,75);
      rectangle(92,40,94,75);
      setorigin("CENTER",0,0);
      println(" ");
      println(" ");
      println(" ");
      println(" ");
      println(" ");
      println("#NAME#");
      println("#TAG:Stakeholder Type#");
      println("<<#stereotype#>>");
}
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Book about Shape Script
« Reply #3 on: January 15, 2014, 11:03:26 am »
Thanks to both of you. Much appreciated :-)

q.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Book about Shape Script
« Reply #4 on: January 17, 2014, 11:32:23 pm »
Quote
Here's a little shape script for your perusal.

We wanted to distinguish between stakeholders (who aren't actors) and other actors.

Hence the following little blue guy:

...

Andy, you should add fixedAspectRatio = "true" right in the beginning to avoid fat people or stickmen ;-)

q.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Book about Shape Script
« Reply #5 on: January 21, 2014, 08:22:26 am »
I have just published the first version: https://leanpub.com/shapescript

I had some findings when compiling the tutorial. You may read online or download a sample.

Any feedback is welcome!

q.

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Book about Shape Script
« Reply #6 on: January 22, 2014, 06:17:17 am »
Hi,

I fought a lot of fights against the subtleties in EA in real live. If you consider Shape Scripts as worthwhile you save a lot of time reading and trying the examples in this book.

With shapes scripts you can visualize visual information but also other useful things like the age of a person of the e.g. subtype <<person>>.

Shape scripts are a building block to reader oriented modeling. The modeler  feels as an author who explains the system at hand and visualize the important information for the different stakeholders.  

In my opinion it's important to understand <<stereotypes>>, profiles and subtypes to get the most from the book.

Helmut  


Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Book about Shape Script
« Reply #7 on: January 22, 2014, 07:24:12 am »
I haven't worked out the motivation very well :-[ Probably because I'm still a bit frustrated from the many bugs that were biting me when compiling the examples  :-X

q.

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: Book about Shape Script
« Reply #8 on: January 24, 2014, 01:54:39 pm »
"Andy, you should add fixedAspectRatio = "true" right in the beginning to avoid fat people or stickmen ;-)"

Nice one, will do.

I've had a peek at your book online, very nice work..

Sparx should have you on the payroll!
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Book about Shape Script
« Reply #9 on: January 24, 2014, 10:44:03 pm »
I'm not a good business man. Someone else mentioned I should get payed for my posts here. But I guess I'm too keen to pour salt in the open wounds so Sparx is not always so happy with my standpoint. That's probably also the reason for not listing my books at http://www.sparxsystems.com/resources/booklets/ebook_list.html as someone else suggested.

q.