Re: [Factor-talk] Furnace; Emacs

2010-11-07 Thread Jim mack
We're hampered by not having a secure connection in windows.  Slava did some
things to make it better, but it hasn't worked yet and I haven't had time to
track down why.  I feel bad I haven't given him any feedback yet after he
did this for me.   That being said, here's some fixes to
\extra\webapps\blogs that make it work up to a point:

http://paste.factorcode.org/paste?id=2043

The comments I've added at the end may help you get started to where you can
see the main menu.

Hope that helps a little.


The current furnace paradigm has you creating many actions, then sending
quots to slots in them.  I've been working on something where the page uses
a tuple and generics to process & render itself, and
a router determines which tuple to start with.  This all happens through a
single action.  So the crud operations for an object all descend from a
general object tuple page, giving lots of places for overriding behavior.
I'm not trying to make an argument that it's better, it just fits how I
think.  It's also not ready for prime time, but you asked, so I answered :)


A further squirrely thing I'm doing is generating the HTML & unobtrusive JS
along the way, rather than having any page artifacts that get parsed (chloe)
or filled (fhtml).  And I've written words to add to and reuse the tuple
slot meta data.  This is the html/form generation for a subset of fields in
the tuple:

content-edit-fields
"Org Information"  <>LEGEND <>+
"org-fields" all-id
<>FIELDSET <>BR
"Save" button <>submit+
"org" all-id
<>form
yields:
http://paste.factorcode.org/paste?id=2044
--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Furnace; Emacs

2010-11-07 Thread Shaping
I'm not trying to imply you should stop your search for what you feel is
perfection; merely sharing my 20/80% solutions.  I personally have gone far
off road with the website framework furnace, because Factor gives us so much
power to do it as we wish it could be done.

What have you done with Furnace?

 

I want to be able to serve up a simple site with some text with an
associated CSS, with some images and videos interspersed.  Is Furnace able
to do this with HTML 5 and CSS 3?  I want to play with weby stuff in Factor,
but don't feel comfortable enough yet with the basic development dynamic.  I
need to continue tweaking fonts a little.   Then I'll be okay for a while
with the Listener and the Browser.  

 

Are you still using Emacs with Factor?

 

 

Shaping

 

 

 

 

On Sun, Nov 7, 2010 at 4:43 PM, Shaping  wrote:

I did a load-All in the Factor listener.  After all words were loaded, I had
four errors involving use of deprecated words:

 

resource:extra/24-game/24-game.factor: 13

 

Asset: some-rots

 

The definition of some-rots uses these deprecated words:

spin

 

 

resource:extra/calendar/holidays/holidays.factor: 17

 

Asset: POSTPONE: HOLIDAY-NAME:

 

The definition of POSTPONE: HOLIDAY-NAME: uses these deprecated words:

spin

 

 

resource:extra/math/finance/finance.factor: 17

 

Asset: ema

 

The definition of ema uses these deprecated words:

spin

 

resource:extra/trees/avl/avl.factor: 138

 

Asset: (avl-delete)

 

The definition of (avl-delete) uses these deprecated words:

tuck

 

Are we supposed to keep after and fix stuff like this?  I know these are
minor problems, but I think I will be loading everything from now on, in
order to learn more quickly about all vocabularies.  I'm trying to tread my
Factor  as I would a fully loaded Smalltalk image.

 

Shaping

 



--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk




-- 
Jim
"I'm for extending the working Medicare program for our seniors all the way
back to contraception, so Americans can concentrate on living their lives
without fear of changing a job, going bankrupt from deductibles or fighting
HMO bureaucracy."

--
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk