Fabrik

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Fabrik

Brad Fuller-3
I was wondering if Dan and Scott's Fabrik was ever finished on Squeak.
Anyone know?

(http://wiki.squeak.org/squeak/1175)

--
brad fuller
www.bradfuller.com

Reply | Threaded
Open this post in threaded view
|

Re: Fabrik

Aaron Reichow
Brad,

A useable version of Fabrik is available in older versions of Squeak,  
and there is a demo project showing the construction of a class  
browser in Morphic using Fabrik. I can't remember what versions of  
Squeak have it or when they took it out, but I think it may have been  
at the 3.0 change over.  Try a Squeak 2.8 for an image that has  
Fabrik and is quite solid.

Though someone might be able to correct me on Fabrik- maybe it made  
it to 3.0, but I"m quite sure it isn't in 3.2.

I don't know if they ever *finished* it, but it is finished enough  
for the demos I've seen.

Regards,
Aaron

On Jan 24, 2007, at 12:25 PM, Brad Fuller wrote:

> I was wondering if Dan and Scott's Fabrik was ever finished on Squeak.
> Anyone know?
>
> (http://wiki.squeak.org/squeak/1175)
>
> --
> brad fuller
> www.bradfuller.com
>


Reply | Threaded
Open this post in threaded view
|

Re: Fabrik

Edgar J. De Cleene
In reply to this post by Brad Fuller-3



El 1/24/07 3:25 PM, "Brad Fuller" <[hidden email]> escribió:

> I was wondering if Dan and Scott's Fabrik was ever finished on Squeak.
> Anyone know?
>
> (http://wiki.squeak.org/squeak/1175)
>
> --
> brad fuller
> www.bradfuller.com
>

The last time what I ask he said no.

It's other of old amazing things what once we have what I wish works in
3.10.

Add to pile ...

Edgar



       

       
               
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas


Reply | Threaded
Open this post in threaded view
|

Re: Fabrik

Dan Ingalls
In reply to this post by Aaron Reichow
>A useable version of Fabrik is available in older versions of Squeak, and there is a demo project showing the construction of a class browser in Morphic using Fabrik. I can't remember what versions of Squeak have it or when they took it out, but I think it may have been at the 3.0 change over.  Try a Squeak 2.8 for an image that has Fabrik and is quite solid.
>
>Though someone might be able to correct me on Fabrik- maybe it made it to 3.0, but I"m quite sure it isn't in 3.2.
>
>I don't know if they ever *finished* it, but it is finished enough for the demos I've seen.

The Squeak Fabrik that I did was just a sketch -- but enough to build a browser in 5 minutes.  I kept intending to revisit this when Ned had Connectors working, but then got busy with other stuff.  It shouldn't take more than a day (maybe a week if it's new to you) to get the 2.8 stuff working in a modern image.  Then there are a bunch of demos you should try for fun (and to shake it down).  At least two things should be completed that will take a bit more work:

        The edit view/user view switch that lets you hide the wires and other stuff
                when running as an application, and
        Storing the layout and wiring in the application class.  This makes it a UI builder
                since all you have to do is fileOut and fileIn to another Squeak
                to export hat application.

 It's really simple, guys, and I'd be happy to kibitz if someone wants to get it going.  It's incredibly fun to play with, once it's working.

        - Dan

>On Jan 24, 2007, at 12:25 PM, Brad Fuller wrote:
>
>>I was wondering if Dan and Scott's Fabrik was ever finished on Squeak.
>>Anyone know?
>>
>>(http://wiki.squeak.org/squeak/1175)
>>
>>--
>>brad fuller
>>www.bradfuller.com


Reply | Threaded
Open this post in threaded view
|

Re: Fabrik

Brad Fuller-3
Dan Ingalls wrote:

>> A useable version of Fabrik is available in older versions of Squeak, and there is a demo project showing the construction of a class browser in Morphic using Fabrik. I can't remember what versions of Squeak have it or when they took it out, but I think it may have been at the 3.0 change over.  Try a Squeak 2.8 for an image that has Fabrik and is quite solid.
>>
>> Though someone might be able to correct me on Fabrik- maybe it made it to 3.0, but I"m quite sure it isn't in 3.2.
>>
>> I don't know if they ever *finished* it, but it is finished enough for the demos I've seen.
>
> The Squeak Fabrik that I did was just a sketch -- but enough to build a browser in 5 minutes.  I kept intending to revisit this when Ned had Connectors working, but then got busy with other stuff.  It shouldn't take more than a day (maybe a week if it's new to you) to get the 2.8 stuff working in a modern image.  Then there are a bunch of demos you should try for fun (and to shake it down).  At least two things should be completed that will take a bit more work:
>
> The edit view/user view switch that lets you hide the wires and other stuff
> when running as an application, and
> Storing the layout and wiring in the application class.  This makes it a UI builder
> since all you have to do is fileOut and fileIn to another Squeak
> to export hat application.
>
>  It's really simple, guys, and I'd be happy to kibitz if someone wants to get it going.  It's incredibly fun to play with, once it's working.
>
> - Dan

Thanks Dan. I looked in 2.8, but didn't find it. Would it be under
another class name?



--
brad fuller
www.bradfuller.com

Reply | Threaded
Open this post in threaded view
|

Re: Fabrik

Dan Ingalls
Brad Fuller <[hidden email]>  wrote...

>Thanks Dan. I looked in 2.8, but didn't find it. Would it be under
>another class name?

"it" does not exist.  The Fabrik that ran in 2.8 was simply an environment for hooking together components.  It turns out that the code has been in every Squeak release from 2.8 to 3.9 in the category Morphic-Components or similar.  However, I can't vouch for it working in anything more recent than 2.8 (or even that -- it goes back to 2.4 or earlier;  I haven't checked completely).

If you want to find it in 2.8, go to the project 'Play with me 6' and open it.  There you will see a browser built in Fabrik -- ie it was assembled by dropping components into a layout and wiring them together.  You may find it instructive to inspect the model of the layout (the morph that is the enclosing frame).  Each time you drop a new component into the layout, it adds a new instvar to the model.

If you want to try playing with it be warned that the UI is poor right now.  Step 1 is to choose 'new morph...' from the screen menu and keep that menu available.  Then choose Component>LayoutComponent to create a new Layout (ie Fabrik frame).  Then choose, eg, PrintComponent to drop a printcomponent into the layout.  From there on, most of what you can do will get you in trouble without a guide.

I've got to play with it some more myself in order to remember enough to write a short tutorial.  I'll try this weekend, but if someone else already knows or figures it out, feel free to step in.  Use shift-click to draw a wire out from a pin, and pins on the left of a component with a menu are problematic.  I try to move them as soon as possible ;-).

Have fun

        - Dan

Reply | Threaded
Open this post in threaded view
|

Re: Fabrik

Edgar J. De Cleene
In reply to this post by Dan Ingalls
In http://201.212.99.13:8088/

To Dan , with love , still no perfect but yes, 3.10 could use your magic.


El 1/24/07 8:41 PM, "Dan Ingalls" <[hidden email]> escribió:

>> A useable version of Fabrik is available in older versions of Squeak, and
>> there is a demo project showing the construction of a class browser in
>> Morphic using Fabrik. I can't remember what versions of Squeak have it or
>> when they took it out, but I think it may have been at the 3.0 change over.
>> Try a Squeak 2.8 for an image that has Fabrik and is quite solid.
>>
>> Though someone might be able to correct me on Fabrik- maybe it made it to
>> 3.0, but I"m quite sure it isn't in 3.2.
>>
>> I don't know if they ever *finished* it, but it is finished enough for the
>> demos I've seen.
>
> The Squeak Fabrik that I did was just a sketch -- but enough to build a
> browser in 5 minutes.  I kept intending to revisit this when Ned had
> Connectors working, but then got busy with other stuff.  It shouldn't take
> more than a day (maybe a week if it's new to you) to get the 2.8 stuff working
> in a modern image.  Then there are a bunch of demos you should try for fun
> (and to shake it down).  At least two things should be completed that will
> take a bit more work:
>
> The edit view/user view switch that lets you hide the wires and other stuff
> when running as an application, and
> Storing the layout and wiring in the application class.  This makes it a UI
> builder
> since all you have to do is fileOut and fileIn to another Squeak
> to export hat application.
>
>  It's really simple, guys, and I'd be happy to kibitz if someone wants to get
> it going.  It's incredibly fun to play with, once it's working.
>
> - Dan
>
>> On Jan 24, 2007, at 12:25 PM, Brad Fuller wrote:
>>
>>> I was wondering if Dan and Scott's Fabrik was ever finished on Squeak.
>>> Anyone know?
>>>
>>> (http://wiki.squeak.org/squeak/1175)
>>>
>>> --
>>> brad fuller
>>> www.bradfuller.com
>
>



       

       
               
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas


Reply | Threaded
Open this post in threaded view
|

Re: Fabrik

Brad Fuller-3
In reply to this post by Dan Ingalls
Thanks Dan, got it.

--
brad fuller
www.bradfuller.com

Reply | Threaded
Open this post in threaded view
|

Re: Fabrik

dpharris
Brad Fuller wrote:

>Thanks Dan, got it.
>
>  
>
Hi guys-

I just used 3.7gamma (it was lying around) and 3.9g-7061, and the Fabrik
stuff seems to work in both.  At least I got three TextComponents talking.

David