IronPython Hosting ?

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

IronPython Hosting ?

Bill Chiles
I'm trying to gather information and concrete examples about IronPython hosting.  I'll sift through some of the old email, but I'd super appreciate if you could send me some info about hosting IronPython if you're doing that.  The questions I'd have are:
 
* Briefly what are your goals for hosting (e.g., app scripting for users, biz rule execution, feature development of your app, etc.)?
* What kind of host application do you have, or what is its main purpose?
* Briefly what are the key features of hosting that you count on or use (e.g., supplying host globals to the hosted IronPython code, accessing IronPython variables, interop with the dynamic objects, namespace isolation with scopes, multi-instanced ScriptRuntime in an AppDomain, etc.)?
 
I really appreciate your time and responses!
 
Thanks,
Bill
 
 

_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Mark Senko

Hmmm …. Didn’t Microsoft dump support of IronPython? ( I notice that’s your email address)

 

*Bill, what are your goals for asking how we use hosting?

*Why does it matter what the purpose of my application is, as long as I feel it is worthwhile?

*I’m still discovering the features I have available, and lamenting those I don’t.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Bill Chiles
Sent: Monday, February 28, 2011 12:48 PM
To: Discussion of IronPython
Subject: [IronPython] IronPython Hosting ?

 

I'm trying to gather information and concrete examples about IronPython hosting.  I'll sift through some of the old email, but I'd super appreciate if you could send me some info about hosting IronPython if you're doing that.  The questions I'd have are:

 

* Briefly what are your goals for hosting (e.g., app scripting for users, biz rule execution, feature development of your app, etc.)?

* What kind of host application do you have, or what is its main purpose?

* Briefly what are the key features of hosting that you count on or use (e.g., supplying host globals to the hosted IronPython code, accessing IronPython variables, interop with the dynamic objects, namespace isolation with scopes, multi-instanced ScriptRuntime in an AppDomain, etc.)?

 

I really appreciate your time and responses!

 

Thanks,

Bill

 

 

 

 
The contents of this e-mail and any attachments are confidential and only for use by the intended recipient. Any unauthorized use, distribution or copying of this message is strictly prohibited. If you are not the intended recipient please inform the sender immediately by reply e-mail and delete this message from your system. Thank you for your co-operation.
_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Jeff Hardy-4
On Mon, Feb 28, 2011 at 1:58 PM, Mark Senko <[hidden email]> wrote:
> *Bill, what are your goals for asking how we use hosting?

While I can't speak for Bill, I can say hosting is something that
hasn't been given much thought in the last little while because I've
been focused on getting the engine and stdlib up to par, and because
the hosting APIs are, in general, very good. If there are specific
use-cases that aren't covered, it would be good to know.

> *I’m still discovering the features I have available, and lamenting those I
> don’t.

What don't you have available? What would you like to see added to the
hosting API? It's too late to get changes into 2.7, but 3.x is open
season as far as changes are concerned, no matter how crazy.

My use case: a WSGI implementation for serving web sites. It basically
just mooks for a callable in a .py file and calls it with particular
arguments. I have very few issues with the hosting API, although there
are a few missing helpers that would be nice to have.

What I think is missing the most is documentation - or if it exists,
I'm not sure where to find it. Especially for using other AppDomains,
as that comes up a lot.

- Jeff
_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Tomas Matousek
Let's file Hosting API feature requests, ranging from simple helpers, useful tweaks or something more complex, as work items on IronPython or IronRuby CodePlex site, so that we can track them.

Tomas

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Jeff Hardy
Sent: Monday, February 28, 2011 1:38 PM
To: Discussion of IronPython
Subject: Re: [IronPython] IronPython Hosting ?

On Mon, Feb 28, 2011 at 1:58 PM, Mark Senko <[hidden email]> wrote:
> *Bill, what are your goals for asking how we use hosting?

While I can't speak for Bill, I can say hosting is something that hasn't been given much thought in the last little while because I've been focused on getting the engine and stdlib up to par, and because the hosting APIs are, in general, very good. If there are specific use-cases that aren't covered, it would be good to know.

> *I'm still discovering the features I have available, and lamenting
> those I don't.

What don't you have available? What would you like to see added to the hosting API? It's too late to get changes into 2.7, but 3.x is open season as far as changes are concerned, no matter how crazy.

My use case: a WSGI implementation for serving web sites. It basically just mooks for a callable in a .py file and calls it with particular arguments. I have very few issues with the hosting API, although there are a few missing helpers that would be nice to have.

What I think is missing the most is documentation - or if it exists, I'm not sure where to find it. Especially for using other AppDomains, as that comes up a lot.

- Jeff
_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Bill Chiles
In reply to this post by Mark Senko

Hi, Mark.  Yes, I do work at Microsoft, and while I have numerous email address I could have used to dup you with, I see no reason to be untoward.  Hopefully I can answer your inquiries about my questions, and I'm sorry my mail was confusing.

 

As some people are aware, the hosting APIs are general to the DLR and are not specific to IronPython.  They are one of the more baked areas of the DLR that did not ship in .NET 4.0.  I personally would like to consider use cases of the DLR Hosting APIs and what might make sense as general language hosting APIs.  My asking about the kind of host app helps shed light on what sorts of scenarios would be useful to people around hosting; answers simply add more useful insights on the problem domain and isn't at all about whether an app is worthwhile.

 

Cheers,

Bill

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Mark Senko
Sent: Monday, February 28, 2011 12:58 PM
To: Discussion of IronPython
Subject: Re: [IronPython] IronPython Hosting ?

 

Hmmm …. Didn’t Microsoft dump support of IronPython? ( I notice that’s your email address)

 

*Bill, what are your goals for asking how we use hosting?

*Why does it matter what the purpose of my application is, as long as I feel it is worthwhile?

*I’m still discovering the features I have available, and lamenting those I don’t.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Bill Chiles
Sent: Monday, February 28, 2011 12:48 PM
To: Discussion of IronPython
Subject: [IronPython] IronPython Hosting ?

 

I'm trying to gather information and concrete examples about IronPython hosting.  I'll sift through some of the old email, but I'd super appreciate if you could send me some info about hosting IronPython if you're doing that.  The questions I'd have are:

 

* Briefly what are your goals for hosting (e.g., app scripting for users, biz rule execution, feature development of your app, etc.)?

* What kind of host application do you have, or what is its main purpose?

* Briefly what are the key features of hosting that you count on or use (e.g., supplying host globals to the hosted IronPython code, accessing IronPython variables, interop with the dynamic objects, namespace isolation with scopes, multi-instanced ScriptRuntime in an AppDomain, etc.)?

 

I really appreciate your time and responses!

 

Thanks,

Bill

 

 

 


 
The contents of this e-mail and any attachments are confidential and only for use by the intended recipient. Any unauthorized use, distribution or copying of this message is strictly prohibited. If you are not the intended recipient please inform the sender immediately by reply e-mail and delete this message from your system. Thank you for your co-operation.


_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Bill Dines
In reply to this post by Bill Chiles
Hi Bill and the IP community.

This is my first contribution to the mailing list so hello to all :).

I've been experimenting with hosted IronPython (and IronRuby) with
Silverlight for a while now.  It's not yet being used for real in our
companies products but may well be soon.  Here are my answers to your
questions:

* Briefly what are your goals for hosting
Our goal is to provide a way for technically competent users who aren't
programmers to easily create Silverlight (4) UI's using ironpython or
ironruby script and custom controls that we will provide.  The script
they write will extend the viewmodel for a control to do things like
provide input validation and to interact with our core product's API.
* What kind of host application do you have, or what is its main
purpose?
Our host application provides a mechanism to load controls or pages and
execute their associated scripts
* Briefly what are the key features of hosting that you count on or use
Currently its fairly simple.  We provide variables to the hosted code
from c# and also call methods that are defined in the hosted code from
c#.  So far the current capabilities of IP/IR are sufficient for us.

The IP tools for VS2010 is also something we are investigating.  

Like someone else has mentioned, lack of documentation is the main
problem I have encountered so far.

Bill


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of
[hidden email]
Sent: 28 February 2011 21:10
To: [hidden email]
Subject: Users Digest, Vol 79, Issue 46

Send Users mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

   1. IronPython Hosting ? (Bill Chiles)


----------------------------------------------------------------------

Message: 1
Date: Mon, 28 Feb 2011 20:47:52 +0000
From: Bill Chiles <[hidden email]>
To: Discussion of IronPython <[hidden email]>
Subject: [IronPython] IronPython Hosting ?
Message-ID:
       
<[hidden email]
crosoft.com>
       
Content-Type: text/plain; charset="us-ascii"

I'm trying to gather information and concrete examples about IronPython
hosting.  I'll sift through some of the old email, but I'd super
appreciate if you could send me some info about hosting IronPython if
you're doing that.  The questions I'd have are:

 * Briefly what are your goals for hosting (e.g., app scripting for
users, biz rule execution, feature development of your app, etc.)?
 * What kind of host application do you have, or what is its main
purpose?
 * Briefly what are the key features of hosting that you count on or use
(e.g., supplying host globals to the hosted IronPython code, accessing
IronPython variables, interop with the dynamic objects, namespace
isolation with scopes, multi-instanced ScriptRuntime in an AppDomain,
etc.)?

I really appreciate your time and responses!

Thanks,
Bill


-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/
20110228/3e55253c/attachment.html>

------------------------------

_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


End of Users Digest, Vol 79, Issue 46
*************************************
_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Lee-124
In reply to this post by Bill Chiles

Bill,

 

I am a C++/cli, c# developer. 

 

I am also a plug-in programmer for an RPG cartography application called Campaign Cartographer 3 (CC3) by ProFantasy (http://www.profantasy.com).  CC3 is a wrapper around the CAD program name FastCAD by Evolution Computing, Inc. (http://www.fastcad.com).

 

FastCAD is written in Assembly.  There is C/C++ libraries to write plugins but most plugins for FastCAD are written in Assembly.  As you can imagine, the learning curve for plugin development is steep and the “club” of programmers is very small.

 

I’ve successfully created wrapper, in C++/cli around a subset of the plugin API and exposed it to IronPython.  (It is soooo cool being able to control CC3 with a simple .ipy text file!)

 

Once I have completed another project, I plan on wrapping and exposing the entire API to IronPython.  In this way, I hope to greatly expand the “club” of FastCAD/CC3 plugin developers.

 

L. Lee Saunders

Lead/Advisory Software Development Engineer

402-963-8438

CSG Systems, Inc.

11819 Miami Street

Mail Stop 1NP4

Omaha, NE 68164

Work: [hidden email]

Personal: [hidden email]

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Bill Chiles
Sent: Monday, February 28, 2011 2:48 PM
To: Discussion of IronPython
Subject: [IronPython] IronPython Hosting ?

 

I'm trying to gather information and concrete examples about IronPython hosting.  I'll sift through some of the old email, but I'd super appreciate if you could send me some info about hosting IronPython if you're doing that.  The questions I'd have are:

 

* Briefly what are your goals for hosting (e.g., app scripting for users, biz rule execution, feature development of your app, etc.)?

* What kind of host application do you have, or what is its main purpose?

* Briefly what are the key features of hosting that you count on or use (e.g., supplying host globals to the hosted IronPython code, accessing IronPython variables, interop with the dynamic objects, namespace isolation with scopes, multi-instanced ScriptRuntime in an AppDomain, etc.)?

 

I really appreciate your time and responses!

 

Thanks,

Bill

 

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Daniel Jennings-4

BTW that sounds awesome. Do you have any website/github or anything showing examples?

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of L. Lee Saunders
Sent: Wednesday, March 02, 2011 8:32 AM
To: 'Discussion of IronPython'
Subject: Re: [IronPython] IronPython Hosting ?

 

Bill,

 

I am a C++/cli, c# developer. 

 

I am also a plug-in programmer for an RPG cartography application called Campaign Cartographer 3 (CC3) by ProFantasy (http://www.profantasy.com).  CC3 is a wrapper around the CAD program name FastCAD by Evolution Computing, Inc. (http://www.fastcad.com).

 

FastCAD is written in Assembly.  There is C/C++ libraries to write plugins but most plugins for FastCAD are written in Assembly.  As you can imagine, the learning curve for plugin development is steep and the “club” of programmers is very small.

 

I’ve successfully created wrapper, in C++/cli around a subset of the plugin API and exposed it to IronPython.  (It is soooo cool being able to control CC3 with a simple .ipy text file!)

 

Once I have completed another project, I plan on wrapping and exposing the entire API to IronPython.  In this way, I hope to greatly expand the “club” of FastCAD/CC3 plugin developers.

 

L. Lee Saunders

Lead/Advisory Software Development Engineer

402-963-8438

CSG Systems, Inc.

11819 Miami Street

Mail Stop 1NP4

Omaha, NE 68164

Work: [hidden email]

Personal: [hidden email]

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Bill Chiles
Sent: Monday, February 28, 2011 2:48 PM
To: Discussion of IronPython
Subject: [IronPython] IronPython Hosting ?

 

I'm trying to gather information and concrete examples about IronPython hosting.  I'll sift through some of the old email, but I'd super appreciate if you could send me some info about hosting IronPython if you're doing that.  The questions I'd have are:

 

* Briefly what are your goals for hosting (e.g., app scripting for users, biz rule execution, feature development of your app, etc.)?

* What kind of host application do you have, or what is its main purpose?

* Briefly what are the key features of hosting that you count on or use (e.g., supplying host globals to the hosted IronPython code, accessing IronPython variables, interop with the dynamic objects, namespace isolation with scopes, multi-instanced ScriptRuntime in an AppDomain, etc.)?

 

I really appreciate your time and responses!

 

Thanks,

Bill

 

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Lee-124

Not currently.  Never thought anyone else would be all that interested.  I’ll see if I can squeeze out some time to add a couple of blog posts about it.

 

I’ll post here the links when I get it out there, OK?

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Daniel Jennings
Sent: Wednesday, March 02, 2011 10:47 AM
To: Discussion of IronPython
Subject: Re: [IronPython] IronPython Hosting ?

 

BTW that sounds awesome. Do you have any website/github or anything showing examples?

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of L. Lee Saunders
Sent: Wednesday, March 02, 2011 8:32 AM
To: 'Discussion of IronPython'
Subject: Re: [IronPython] IronPython Hosting ?

 

Bill,

 

I am a C++/cli, c# developer. 

 

I am also a plug-in programmer for an RPG cartography application called Campaign Cartographer 3 (CC3) by ProFantasy (http://www.profantasy.com).  CC3 is a wrapper around the CAD program name FastCAD by Evolution Computing, Inc. (http://www.fastcad.com).

 

FastCAD is written in Assembly.  There is C/C++ libraries to write plugins but most plugins for FastCAD are written in Assembly.  As you can imagine, the learning curve for plugin development is steep and the “club” of programmers is very small.

 

I’ve successfully created wrapper, in C++/cli around a subset of the plugin API and exposed it to IronPython.  (It is soooo cool being able to control CC3 with a simple .ipy text file!)

 

Once I have completed another project, I plan on wrapping and exposing the entire API to IronPython.  In this way, I hope to greatly expand the “club” of FastCAD/CC3 plugin developers.

 

L. Lee Saunders

Lead/Advisory Software Development Engineer

402-963-8438

CSG Systems, Inc.

11819 Miami Street

Mail Stop 1NP4

Omaha, NE 68164

Work: [hidden email]

Personal: [hidden email]

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Bill Chiles
Sent: Monday, February 28, 2011 2:48 PM
To: Discussion of IronPython
Subject: [IronPython] IronPython Hosting ?

 

I'm trying to gather information and concrete examples about IronPython hosting.  I'll sift through some of the old email, but I'd super appreciate if you could send me some info about hosting IronPython if you're doing that.  The questions I'd have are:

 

* Briefly what are your goals for hosting (e.g., app scripting for users, biz rule execution, feature development of your app, etc.)?

* What kind of host application do you have, or what is its main purpose?

* Briefly what are the key features of hosting that you count on or use (e.g., supplying host globals to the hosted IronPython code, accessing IronPython variables, interop with the dynamic objects, namespace isolation with scopes, multi-instanced ScriptRuntime in an AppDomain, etc.)?

 

I really appreciate your time and responses!

 

Thanks,

Bill

 

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Bill Chiles
In reply to this post by Lee-124

thanks!

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of L. Lee Saunders
Sent: Wednesday, March 02, 2011 8:32 AM
To: 'Discussion of IronPython'
Subject: Re: [IronPython] IronPython Hosting ?

 

Bill,

 

I am a C++/cli, c# developer. 

 

I am also a plug-in programmer for an RPG cartography application called Campaign Cartographer 3 (CC3) by ProFantasy (http://www.profantasy.com).  CC3 is a wrapper around the CAD program name FastCAD by Evolution Computing, Inc. (http://www.fastcad.com).

 

FastCAD is written in Assembly.  There is C/C++ libraries to write plugins but most plugins for FastCAD are written in Assembly.  As you can imagine, the learning curve for plugin development is steep and the “club” of programmers is very small.

 

I’ve successfully created wrapper, in C++/cli around a subset of the plugin API and exposed it to IronPython.  (It is soooo cool being able to control CC3 with a simple .ipy text file!)

 

Once I have completed another project, I plan on wrapping and exposing the entire API to IronPython.  In this way, I hope to greatly expand the “club” of FastCAD/CC3 plugin developers.

 

L. Lee Saunders

Lead/Advisory Software Development Engineer

402-963-8438

CSG Systems, Inc.

11819 Miami Street

Mail Stop 1NP4

Omaha, NE 68164

Work: [hidden email]

Personal: [hidden email]

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Bill Chiles
Sent: Monday, February 28, 2011 2:48 PM
To: Discussion of IronPython
Subject: [IronPython] IronPython Hosting ?

 

I'm trying to gather information and concrete examples about IronPython hosting.  I'll sift through some of the old email, but I'd super appreciate if you could send me some info about hosting IronPython if you're doing that.  The questions I'd have are:

 

* Briefly what are your goals for hosting (e.g., app scripting for users, biz rule execution, feature development of your app, etc.)?

* What kind of host application do you have, or what is its main purpose?

* Briefly what are the key features of hosting that you count on or use (e.g., supplying host globals to the hosted IronPython code, accessing IronPython variables, interop with the dynamic objects, namespace isolation with scopes, multi-instanced ScriptRuntime in an AppDomain, etc.)?

 

I really appreciate your time and responses!

 

Thanks,

Bill

 

 


_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Bill Chiles
In reply to this post by Bill Dines
Since a couple people made the doc comment, I thought I'd make people aware of the hosting doc at http://dlr.codeplex.com/wikipage?title=Docs%20and%20specs&referringTitle=Home .  It should be in the ipy dist, but I keep docs up to date on the DLR site.  See dlr-spec-hosting.doc.

Of course, you may have that in hand and still telling me the docs are insufficient.  I kept meaning to take Dino's World's Worse Paint Program (tm) and the hosting it does and break it down into a walk through that starts with the app having no hosting, then adding the various features that sample shows.    I haven't looked, but I'm pretty sure that's in the source tree from his talk a year or so ago :-).

Cheers,
Bill

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Bill Dines
Sent: Tuesday, March 01, 2011 7:04 AM
To: [hidden email]
Subject: Re: [IronPython] IronPython Hosting ?

Hi Bill and the IP community.

This is my first contribution to the mailing list so hello to all :).

I've been experimenting with hosted IronPython (and IronRuby) with
Silverlight for a while now.  It's not yet being used for real in our
companies products but may well be soon.  Here are my answers to your
questions:

* Briefly what are your goals for hosting
Our goal is to provide a way for technically competent users who aren't
programmers to easily create Silverlight (4) UI's using ironpython or
ironruby script and custom controls that we will provide.  The script
they write will extend the viewmodel for a control to do things like
provide input validation and to interact with our core product's API.
* What kind of host application do you have, or what is its main
purpose?
Our host application provides a mechanism to load controls or pages and
execute their associated scripts
* Briefly what are the key features of hosting that you count on or use
Currently its fairly simple.  We provide variables to the hosted code
from c# and also call methods that are defined in the hosted code from
c#.  So far the current capabilities of IP/IR are sufficient for us.

The IP tools for VS2010 is also something we are investigating.  

Like someone else has mentioned, lack of documentation is the main
problem I have encountered so far.

Bill


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of
[hidden email]
Sent: 28 February 2011 21:10
To: [hidden email]
Subject: Users Digest, Vol 79, Issue 46

Send Users mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

   1. IronPython Hosting ? (Bill Chiles)


----------------------------------------------------------------------

Message: 1
Date: Mon, 28 Feb 2011 20:47:52 +0000
From: Bill Chiles <[hidden email]>
To: Discussion of IronPython <[hidden email]>
Subject: [IronPython] IronPython Hosting ?
Message-ID:
       
<[hidden email]
crosoft.com>
       
Content-Type: text/plain; charset="us-ascii"

I'm trying to gather information and concrete examples about IronPython
hosting.  I'll sift through some of the old email, but I'd super
appreciate if you could send me some info about hosting IronPython if
you're doing that.  The questions I'd have are:

 * Briefly what are your goals for hosting (e.g., app scripting for
users, biz rule execution, feature development of your app, etc.)?
 * What kind of host application do you have, or what is its main
purpose?
 * Briefly what are the key features of hosting that you count on or use
(e.g., supplying host globals to the hosted IronPython code, accessing
IronPython variables, interop with the dynamic objects, namespace
isolation with scopes, multi-instanced ScriptRuntime in an AppDomain,
etc.)?

I really appreciate your time and responses!

Thanks,
Bill


-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/
20110228/3e55253c/attachment.html>

------------------------------

_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


End of Users Digest, Vol 79, Issue 46
*************************************
_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Lee-124
My biggest hurdle was running IronPython out of C++/cli.  I tried hand
converting some working C# code but was failing.  I finally had to resort to
RedGate's "Reflector" with the C++/cli plugin.  That did not produce working
code either, but with its output and my attempts to hand convert, I was able
to produce working code.

Lee

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Bill Chiles
Sent: Thursday, March 03, 2011 8:39 PM
To: Discussion of IronPython
Subject: Re: [IronPython] IronPython Hosting ?

Since a couple people made the doc comment, I thought I'd make people aware
of the hosting doc at
http://dlr.codeplex.com/wikipage?title=Docs%20and%20specs&referringTitle=Hom
e .  It should be in the ipy dist, but I keep docs up to date on the DLR
site.  See dlr-spec-hosting.doc.

Of course, you may have that in hand and still telling me the docs are
insufficient.  I kept meaning to take Dino's World's Worse Paint Program
(tm) and the hosting it does and break it down into a walk through that
starts with the app having no hosting, then adding the various features that
sample shows.    I haven't looked, but I'm pretty sure that's in the source
tree from his talk a year or so ago :-).

Cheers,
Bill

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of Bill Dines
Sent: Tuesday, March 01, 2011 7:04 AM
To: [hidden email]
Subject: Re: [IronPython] IronPython Hosting ?

Hi Bill and the IP community.

This is my first contribution to the mailing list so hello to all :).

I've been experimenting with hosted IronPython (and IronRuby) with
Silverlight for a while now.  It's not yet being used for real in our
companies products but may well be soon.  Here are my answers to your
questions:

* Briefly what are your goals for hosting
Our goal is to provide a way for technically competent users who aren't
programmers to easily create Silverlight (4) UI's using ironpython or
ironruby script and custom controls that we will provide.  The script
they write will extend the viewmodel for a control to do things like
provide input validation and to interact with our core product's API.
* What kind of host application do you have, or what is its main
purpose?
Our host application provides a mechanism to load controls or pages and
execute their associated scripts
* Briefly what are the key features of hosting that you count on or use
Currently its fairly simple.  We provide variables to the hosted code
from c# and also call methods that are defined in the hosted code from
c#.  So far the current capabilities of IP/IR are sufficient for us.

The IP tools for VS2010 is also something we are investigating.  

Like someone else has mentioned, lack of documentation is the main
problem I have encountered so far.

Bill


-----Original Message-----
From: [hidden email]
[mailto:[hidden email]] On Behalf Of
[hidden email]
Sent: 28 February 2011 21:10
To: [hidden email]
Subject: Users Digest, Vol 79, Issue 46

Send Users mailing list submissions to
        [hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
or, via email, send a message with subject or body 'help' to
        [hidden email]

You can reach the person managing the list at
        [hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

   1. IronPython Hosting ? (Bill Chiles)


----------------------------------------------------------------------

Message: 1
Date: Mon, 28 Feb 2011 20:47:52 +0000
From: Bill Chiles <[hidden email]>
To: Discussion of IronPython <[hidden email]>
Subject: [IronPython] IronPython Hosting ?
Message-ID:
       
<[hidden email]
crosoft.com>
       
Content-Type: text/plain; charset="us-ascii"

I'm trying to gather information and concrete examples about IronPython
hosting.  I'll sift through some of the old email, but I'd super
appreciate if you could send me some info about hosting IronPython if
you're doing that.  The questions I'd have are:

 * Briefly what are your goals for hosting (e.g., app scripting for
users, biz rule execution, feature development of your app, etc.)?
 * What kind of host application do you have, or what is its main
purpose?
 * Briefly what are the key features of hosting that you count on or use
(e.g., supplying host globals to the hosted IronPython code, accessing
IronPython variables, interop with the dynamic objects, namespace
isolation with scopes, multi-instanced ScriptRuntime in an AppDomain,
etc.)?

I really appreciate your time and responses!

Thanks,
Bill


-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/
20110228/3e55253c/attachment.html>

------------------------------

_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com


End of Users Digest, Vol 79, Issue 46
*************************************
_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Jeff Hardy-4
On Fri, Mar 4, 2011 at 9:42 AM, L. Lee Saunders <[hidden email]> wrote:
> My biggest hurdle was running IronPython out of C++/cli.  I tried hand
> converting some working C# code but was failing.  I finally had to resort to
> RedGate's "Reflector" with the C++/cli plugin.  That did not produce working
> code either, but with its output and my attempts to hand convert, I was able
> to produce working code.

Can you share it? You're probably not the only person to try, and I'd
like to know what the differences from C# are.

- Jeff
_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Reply | Threaded
Open this post in threaded view
|

Re: IronPython Hosting ?

Dody Gunawinata
I am hosting IronPython in a context of one HTTP request execution via
template engine rendering in CMS/ecommerce context.

My systems provide user configurable templates that they save and
these templates are executed at run time after being loaded from the
DB. These templates have built in functions (trims, etc) written in C#
but I also provide IronPythons scripts that can be used directly
within these templates. The good thing about these scripts is that the
user can create and edit their own scripts.

Since all these scripts functions must be available in one HTTP
request, I worry constantly about these functions performance.



On Fri, Mar 4, 2011 at 7:53 PM, Jeff Hardy <[hidden email]> wrote:

> On Fri, Mar 4, 2011 at 9:42 AM, L. Lee Saunders <[hidden email]> wrote:
>> My biggest hurdle was running IronPython out of C++/cli.  I tried hand
>> converting some working C# code but was failing.  I finally had to resort to
>> RedGate's "Reflector" with the C++/cli plugin.  That did not produce working
>> code either, but with its output and my attempts to hand convert, I was able
>> to produce working code.
>
> Can you share it? You're probably not the only person to try, and I'd
> like to know what the differences from C# are.
>
> - Jeff
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>



--
nomadlife.org
_______________________________________________
Users mailing list
[hidden email]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com