Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Thomas Hartman  
View profile  
 More options Sep 12 2008, 11:07 am
Newsgroups: fa.haskell
From: "Thomas Hartman" <tphya...@gmail.com>
Date: Fri, 12 Sep 2008 15:07:52 UTC
Local: Fri, Sep 12 2008 11:07 am
Subject: [Haskell-cafe] Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)
I pushed a new version of happs-tutorial to the online demo at

http://happstutorial.com:5001 This is also on hackage: cabal install
happs-tutorial. (now version 3.)

or darcs get http://code.haskell.org/happs-tutorial for the latest

The demo/tutorial has the same basic functionality as the last release
-- just a login form essentially -- but a lot more bling now. Like
menu link items that change colors when the page is clicked. Also the
login form that gives sane error messages.

The focus for this release was on explaining how I used StringTemplate
with HAppS.

Hopefully in version 4 I'll finally get to State and Macid! And
hopefully some functionality that actually does something beyond just
showing what users have created logins :)

Thomas
_______________________________________________
Haskell-Cafe mailing list
Haskell-C...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Huschenbett  
View profile  
 More options Sep 17 2008, 12:46 am
Newsgroups: fa.haskell
From: Martin Huschenbett <hus...@gmx.org>
Date: Wed, 17 Sep 2008 04:46:16 UTC
Local: Wed, Sep 17 2008 12:46 am
Subject: Re: [Haskell-cafe] Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)
Hi all,

taking a look at this tutorial under Windows Vista I ran into a problem:

happs-tutorial depends on HAppS-state which again depends on the unix
package which doesn't work under windows.

So my question is: is there another way to compile HAppS-State and
happs-tutorial on windows?

Regards,

Martin.

Thomas Hartman schrieb:

_______________________________________________
Haskell-Cafe mailing list
Haskell-C...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marc Weber  
View profile  
 More options Sep 17 2008, 8:05 am
Newsgroups: fa.haskell
From: Marc Weber <marco-owe...@gmx.de>
Date: Wed, 17 Sep 2008 12:05:23 UTC
Local: Wed, Sep 17 2008 8:05 am
Subject: Re: [Haskell-cafe] Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)

On Tue, Sep 16, 2008 at 11:32:04PM +0200, Martin Huschenbett wrote:
>  Hi all,

>  taking a look at this tutorial under Windows Vista I ran into a problem:

You should get the latest darcs version which contains the conditional
cabal flag:
  if !os(windows)
     Build-Depends:    unix
     cpp-options:      -DUNIX

Marc
_______________________________________________
Haskell-Cafe mailing list
Haskell-C...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Huschenbett  
View profile  
 More options Sep 17 2008, 4:10 pm
Newsgroups: fa.haskell
From: Martin Huschenbett <hus...@gmx.org>
Date: Wed, 17 Sep 2008 20:10:55 UTC
Local: Wed, Sep 17 2008 4:10 pm
Subject: Re: [Haskell-cafe] Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)
Hi,

I got your tutorial working. But when running it from ghci an exception
raises:

*** Exception: _local/<interactive>_state\current-0000000000:
openBinaryFile: invalid argument (Invalid argument)

But I found a way to fix this: replace

   runserver 5001

by

   withProgName "happs-tutorial" $ runserver 5001

Regards,

Martin.

Thomas Hartman schrieb:

_______________________________________________
Haskell-Cafe mailing list
Haskell-C...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Hartman  
View profile  
 More options Sep 18 2008, 11:52 am
Newsgroups: fa.haskell
From: "Thomas Hartman" <tphya...@gmail.com>
Date: Thu, 18 Sep 2008 15:52:31 UTC
Local: Thurs, Sep 18 2008 11:52 am
Subject: Re: [Haskell-cafe] Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)
The latest darcs version of what? I don't remember putting that into
my tutorial...

t.

2008/9/17 Marc Weber <marco-owe...@gmx.de>:

_______________________________________________
Haskell-Cafe mailing list
Haskell-C...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leonel Fonseca  
View profile  
 More options Sep 18 2008, 1:03 pm
Newsgroups: fa.haskell
From: Leonel Fonseca <leone...@gmail.com>
Date: Thu, 18 Sep 2008 10:03:03 -0700 (PDT)
Local: Thurs, Sep 18 2008 1:03 pm
Subject: Re: Real World HAppS: Cabalized, Self-Demoing HAppS Tutorial (Version 3)
Hi,

I've got a problem.
In Windows XP, running the executable from the command prompt:

c:\>happs-tutorial.exe 5001

When I use the browser to request the default page it came rendered
with some wrong ports: The content area had good links (for example:
the "install and run" had link to
 http://localhost:5001/tutorial/run-tutorial-locally),
but the menubarMenu and tocArea (as defined in View.hs) got
random ports, i.e. "thanks" is linked to
http://localhost:1161/tutorial/thanks.

Who gives the problem? Is it the rendering process, the Happs server
or the windows implementation stack?

Your help will be appreciated.

Leo.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »