Bug 184481 - Sudoku Application on Three Environments: Embedded, Desktop, Server
Summary: Sudoku Application on Three Environments: Embedded, Desktop, Server
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Examples (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-27 13:15 EDT by Chris Aniszczyk CLA
Modified: 2014-01-10 10:48 EST (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Aniszczyk CLA 2007-04-27 13:15:26 EDT
I couldn't find a better place for this bug, so we will have discussion here.

Jeff just sparked an idea in my mind from a long time ago when talking with Donald Smith about creating a "killer app." Well, in that spirit, I think we should create an application using the Sudoku example that spans across the three environments mentioned in the summary. This would show the power of Eclipse quite well and I think could be cool PR for the website (if the Foundation chooses to advertise it).

What are people's thoughts?
Comment 1 Chris Aniszczyk CLA 2007-04-27 13:17:11 EDT
So far we have a eRCP and Desktop implementation, who is familiar with RAP and that how that black magic works :)?
Comment 2 Scott Lewis CLA 2007-04-27 15:17:07 EDT
My suggestion:  keep ECF/multi-user integration in there across all UIs to *really* show off multi-client...and ECF capabilities in that regard.
Comment 3 Jochen Hiller CLA 2007-04-28 04:00:59 EDT
(In reply to comment #1)
> So far we have a eRCP and Desktop implementation, who is familiar with RAP and
> that how that black magic works :)?
> 
I had at EclipseCon a tutorial about Server-Side Eclipse (with Simon Kaegi, Gunnar, Martin Lippert). I also implemented an exmple based on RAP.
I could give some support or coding for a common sudoku game.

(In reply to comment #2)
Thats a good idea.
Comment 4 Chris Aniszczyk CLA 2007-04-29 20:50:35 EDT
ok, I did some hacking on the plane, here is what I have to report about RAP

1) I don't like RAP's model of how it deals with views. It currently has a custom extension point for defining views (org.eclipse.rap.ui.workbench), it should take the approach by eRCP and simply reuse org.eclipse.ui.views as the fields it declares are practically identical. It's fine to have org.eclipse.ui.views defined in the org.eclipse.rap.ui.workbench bundle.

2) RAP has a radically different way of dealing with Fonts than RCP/SWT (ie., no FontData). How do you code an application that is expected to work with both systems? 

3) There's no GC

4) There's no IWorkbenchWindowActionDelegate*

Other than that, I have to admit, RAP is so much cooler than I thought. The potential is limitless if we can get the coding models to be more similar. I mean, I think I'll wet my pants when I see the same bundle (Sudoku) working on all three environments.
Comment 5 Chris Aniszczyk CLA 2007-04-29 20:51:03 EDT
if anyone could cc RAP experts, that would be great. Gunnar, do you know the RAP team, they are from Innopract mainly, correct?
Comment 6 Gunnar Wagenknecht CLA 2007-04-30 01:04:53 EDT
(In reply to comment #4)
> 1) I don't like RAP's model of how it deals with views. It currently has a
> custom extension point for defining views (org.eclipse.rap.ui.workbench), it
> should take the approach by eRCP and simply reuse org.eclipse.ui.views as the
> fields it declares are practically identical. It's fine to have
> org.eclipse.ui.views defined in the org.eclipse.rap.ui.workbench bundle.

Jochen Hiller talked to the RAP guys and there was an announcement at EFE 2007 that this is going to change for the next mileston, i.e. they will (re-)define the extension points in the org.eclipse.ui namespace and the widget class will be refactored into the org.eclipse.swt namespace.

I cc'ed Jochen Krause to answer the other. :)

Comment 7 Chris Aniszczyk CLA 2007-05-02 12:15:15 EDT
Jochen, do you have any comments on my concerns? I'm really excited to try to make this happen, it would be the best thing since PDE supported multiple versions of the same bundle :)
Comment 8 Jochen Krause CLA 2007-05-02 13:06:57 EDT
Hi Chris, 
The idea sounds absolutely great! Regarding your concerns:

> 1) I don't like RAP's model of how it deals with views. It currently has a
> custom extension point for defining views (org.eclipse.rap.ui.workbench), it
> should take the approach by eRCP and simply reuse org.eclipse.ui.views as the
> fields it declares are practically identical. It's fine to have
> org.eclipse.ui.views defined in the org.eclipse.rap.ui.workbench bundle.
we have been moving to the org.eclipse.swt (.jface .ui.workbench) package names with M3 and will move to reuse the extension point ids as well in the next couple days.

>2) RAP has a radically different way of dealing with Fonts than RCP/SWT (ie.,
>no FontData). How do you code an application that is expected to work with both
>systems? 
With the move to the SWT namespace we agreed to provide a (better) subset of SWT API, so we will find a way to handle Fonts in the same way for all platforms (but no FontMetrics). We are currently using the factory method for performance reasons (the same font object is reused for all "identical fonts" and shared between all user sessions). Timeframe for this: M4 (in the next six weeks). 

> 3) There's no GC
There is some exiting new stuff in the works, but for now we should strive to implement the sudoku without using GC

>4) There's no IWorkbenchWindowActionDelegate*
This is in our plan for M5 (July 13), but we may be able to prioritize this if it is a blocker.
Comment 9 Chris Aniszczyk CLA 2007-05-02 16:40:19 EDT
thanks Jochen, I'm excited to see RAP evolve. 
Comment 10 Denis Roy CLA 2008-05-09 09:28:30 EDT
I think this needs to be moved to the Examples project...