Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 16 votes, 5.00 average. Display Modes
  #136 (permalink)  
Old 11-21-2005
DeepDiver's Avatar
DeepDiver DeepDiver is offline
Registered User
 
Name: Thomas Müller
Organization: Freelance Software Developer
Project: Project depend on Customers
 
Join Date: Nov 2004
Location: Munich, Bavaria, Germany
Posts: 100
Feature Request for DotNet 2.0

hi guys,

once you start with c# code generation for DotNet 2.0,
a meta tag for partial class declaration would be really nice.

maybe something like this:
["clr : partial"]

by supporting this feature it will be very easy to extend generated classes.
this could be really helpfull to define convertion operators.

for a datetime class defined in ice (see the other thread) with the help of:
Code:
namespace Global
{
    partial class DateTime
    {
        public static implicit operator System.DateTime(Global.DateTime date)
        {
            return new System.DateTime(date.nYear, date.nMonth, date.nDay, date.nHour, date.nMinute, date.nSecond, date.nMilliSecond);
        }
        public static implicit operator Global.DateTime(System.DateTime date)
        {
            return new DateTime(date.Year, (byte)date.Month, (byte)date.Day, (byte)date.Hour, (byte)date.Minute, (byte)date.Second, (byte)date.Millisecond);
        }
    }
}
the generated class can be used in source code just like Sytem.DateTime.

take care & thx alot

tom

references:
Partial Class Definitions (C# Programming Guide)
__________________
Thomas Müller, Freelance Software Developer
My profil on www.freelancermap.de
Projects depend on customers

Last edited by DeepDiver : 11-21-2005 at 06:55 PM.
Reply With Quote
  #137 (permalink)  
Old 11-24-2005
vvvol vvvol is offline
Registered User
 
Name: Voloshinov
Organization: Institute of System Analysis Rus. Acad. Sci.
Project: IARnet
 
Join Date: Nov 2005
Posts: 2
Something similar to CORBA InterfaceRepository

It seems that current Ice specs & implementation have not anything analogous to CORBA Interface Repository (aka IFR) component functioning as a standalone "service".
As a result, Dynamic Invocation & Dispatch capabilities (as they are called in Ice manual) looks much more pure than CORBA DII & DSI features, which may be based on run-time IDL types introspection (similar to Java reflection API) provided by run-time access to "pre-parsed" IDL descriptions loaded to IFR.
As far as I understood (by now), the problem may be partially resolved by using ICE Python/PHP implementation, but what about C/Java etc.?

Regards,
Vladimir
Reply With Quote
  #138 (permalink)  
Old 11-24-2005
escofet escofet is offline
Registered User
 
Name: Eduardo Escofet
Organization: University of Holguín, Cuba
Project: freeTribe
 
Join Date: Nov 2005
Posts: 2
Why not a portable Slice2Java?

Hi, I´m wondering if a portable Slice2Java exist. I´m having problems with the C++ building files on Visual Studio 6.0 SP5 and .NET 2003, so, why not the two choices a portable Slice2Java.jar and the rest?

Thanks in advanced
__________________
Prof. MSc. Eduardo Escofet
http://escofet.netfirms.com
University of Holguin, Cuba
http://www.uho.edu.cu
Reply With Quote
  #139 (permalink)  
Old 11-24-2005
marc's Avatar
marc marc is online now
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Quote:
Originally Posted by escofet
Hi, I´m wondering if a portable Slice2Java exist. I´m having problems with the C++ building files on Visual Studio 6.0 SP5 and .NET 2003, so, why not the two choices a portable Slice2Java.jar and the rest?

Thanks in advanced
All our slice compilers are written in C++, because they all use the same slice parser, written with flex and bison in C++. We simply didn't want to duplicate the effort of writing a slice parser in different languages.
Reply With Quote
  #140 (permalink)  
Old 11-24-2005
dwayne's Avatar
dwayne dwayne is offline
ZeroC Staff
 
Name: Dwayne Boone
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Jan 2005
Location: St. John's, Newfoundland
Posts: 207
Quote:
Originally Posted by escofet
Hi, I´m wondering if a portable Slice2Java exist. I´m having problems with the C++ building files on Visual Studio 6.0 SP5 and .NET 2003, so, why not the two choices a portable Slice2Java.jar and the rest?

Thanks in advanced
Note that it is not necessary for you to build the slice2java compiler yourself if you don't want to. It comes precompiled in the .Net 2003 installer for Windows.

Regards,
Dwayne
Reply With Quote
  #141 (permalink)  
Old 11-25-2005
mpaolini mpaolini is offline
Registered User
 
 
Join Date: Nov 2005
Posts: 2
Send a message via ICQ to mpaolini
-->
SSL python support

Hi,

I find Ice easy to learn, poweful, fast and, above all, useful. I used Ice to write pyjdbc (a python DB driver that uses java JDBC drivers see http://pyjdbc.sf.net ).

In my opinion, it would be nice to have SSL support in IcePy.

Thanks for your well designed code,

Marco
Reply With Quote
  #142 (permalink)  
Old 11-25-2005
mes's Avatar
mes mes is offline
ZeroC Staff
 
Name: Mark Spruiell
Organization: ZeroC, Inc.
Project: Ice Developer
 
Join Date: Feb 2003
Location: California
Posts: 971
Quote:
Originally Posted by mpaolini
In my opinion, it would be nice to have SSL support in IcePy.
Since IcePy uses the Ice for C++ run time, you should be able to configure IceSSL and use it with IcePy. Have you tried this?

Or are you asking for the ability to access the IceSSL::Plugin interface from IcePy?

- Mark
Reply With Quote
  #143 (permalink)  
Old 11-27-2005
mpaolini mpaolini is offline
Registered User
 
 
Join Date: Nov 2005
Posts: 2
Send a message via ICQ to mpaolini
-->
Smile SSL python support

Quote:
Originally Posted by mes
Since IcePy uses the Ice for C++ run time, you should be able to configure IceSSL and use it with IcePy. Have you tried this?
- Mark
Thanks, I didn't expect my whish to come true this soon
Reply With Quote
  #144 (permalink)  
Old 11-28-2005
AnandRathi AnandRathi is offline
Registered User
 
 
Join Date: Nov 2005
Posts: 12
SUPPORT epoll or AIO

SUPPORT Epoll or AIO /dev/poll whatever
for 10K connections
i can pay for this

Also something simlar to Asyn_File_Transfer which ACE has...

Last edited by AnandRathi : 11-28-2005 at 05:27 AM.
Reply With Quote
  #145 (permalink)  
Old 11-28-2005
marc's Avatar
marc marc is online now
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Quote:
Originally Posted by AnandRathi
SUPPORT Epoll or AIO /dev/poll whatever
for 10K connections
i can pay for this

Also something simlar to Asyn_File_Transfer which ACE has...
If you would like to sponsor such a feature, please contact us at info@zeroc.com. Note, however, that having so many connections to one server can have severe performance penalties (depending on how active your clients are). The recommended alternative is to use several Glacier instances as connection concentrators.
Reply With Quote
  #146 (permalink)  
Old 12-02-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
I would like to see, that slice2something (for example slice2cs) generate also documentation comments from slice documentation comments for classes which I have to implement.
Reply With Quote
  #147 (permalink)  
Old 12-02-2005
marc's Avatar
marc marc is online now
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
Quote:
Originally Posted by kovacm
I would like to see, that slice2something (for example slice2cs) generate also documentation comments from slice documentation comments for classes which I have to implement.
Have a look at slice2docbook, which creates documentation from comments in docbook format. For example, the reference section in the Ice manual has been created with this tool.
Reply With Quote
  #148 (permalink)  
Old 12-02-2005
kovacm kovacm is offline
Registered User
 
Name: Michal Kovac
Organization: Charles University in Prague
Project: Ferda Data Mining
 
Join Date: Jan 2005
Posts: 60
I use slice2docbook, but generating also documentation comments in generated code (C#, Java,...) can be good at least for two reasons:
  1. To have only one program documentation - for example we use in Ferda project NDoc for our C# codes - it generates for example nice "microsoft" looking documentation...
  2. Many development environments use documentation comments in time of enteriting new code for "nice help" to programmer and shows exaxtly that functions, which he use at that time...
Reply With Quote
  #149 (permalink)  
Old 12-08-2005
vermorel vermorel is offline
Registered User
 
 
Join Date: Dec 2005
Location: France
Posts: 10
Quote:
Originally Posted by marc
We would like to get a feeling for what features are on top of your wish list. So, what features are you missing in Ice?.
A slice2freezecs (targeting C#) would be really must-have feature.
__________________
Joannes Vermorel,
CS PhD Student, Ecole normale superieure
http://www.vermorel.com
Reply With Quote
  #150 (permalink)  
Old 12-16-2005
dmitry.medvedev's Avatar
dmitry.medvedev dmitry.medvedev is offline
Registered User
 
Name: Dmitry Medvedev
Organization: Kaspersky Lab, ZAO
Project: Kaspersky KnowledgeBase
 
Join Date: Sep 2005
Location: Moscow
Posts: 23
Send a message via ICQ to dmitry.medvedev
-->
Quote:
Originally Posted by dwforslund
There CORBA area I would like to see is translating (at least partially) IDL into ICE. How about a UML Profile for ICE

The other area is WebServices integration to ICE. The idea is to be able to deploy an ICE application through WebServices in a fairly automatic manner.
I'm not sure whether I'm permitted to answer here, still... Personally, I do not understand why ICE should support CORBA and SOAP. If you need a possibility to access an ICE object via SOAP or CORBA proto it's you who's responsible for implementing an adapter which would translate CORBA packets or SOAP messages into ICE object's interface calls. ICE developers have no ideas what your SOAP or CORBA interface consists of. The only way to AUTOMATICALLY generate such an adapter is to provide a code generator whose implementation will certainly eat up considerable time which could be spent on implementing really useful features for ICE itself...

As far as UML is concerned I personally do not see much in providing this feature, for the best documentation (the UML is documentation) possible is source code.
__________________
Dmitry N. Medvedev
Kaspersky Lab
http://www.kaspersky.com/
Kaspersky KnowledgeBase
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ice.Application feature requests bartley Comments 4 02-05-2006 02:56 AM
Small C# Feature Request acbell Comments 1 04-21-2005 02:12 AM
Feature request: Mutex classes stephan Comments 1 03-27-2005 04:25 PM
platform feature matrix dlyall Comments 0 09-02-2004 04:52 PM
Why not add DBC feature to Slice? microweb Comments 3 12-07-2003 08:29 AM


All times are GMT -4. The time now is 07:42 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.