CyberArmy University | Open Source Institute | CyberArmy Intelligence & Security | CyberArmy Services & Projects

Discussion with snarkles about this


[Replies] [Reply] [View by Thread] [Help]
[Back To SNEAK Development Forum]

Posted by Lt CyberTNT On 2005-03-31 23:31:32
In Reply to Desktop <-> Web Integration Posted by Lt CyberTNT On 2005-03-31 23:13:55

LtLt
Lt CyberTNT


We both agree on the binary thing. Here is the log:
01:14:42       Cybertnt: snarkles: https://www.cyberarmy.net/forum/sneak/messages/245051.html
01:16:28       snarkles: Cybertnt, Hm. The binary idea sounds promising.
01:17:00       Cybertnt: i know :D
01:17:07       snarkles: So basically, we wouild create a text-UI within our sneak.jar file and then call that remotely via a CGI script or whatever?
01:17:15       Cybertnt: yeah
01:17:16       snarkles: ...which could then be formatted for web?
01:17:36       Cybertnt: well you wouldnt have a jar file, you would have a sneak binary
01:17:51       Cybertnt: like $ sneak md5 "hello world"
01:18:08       snarkles: Ahh :)
01:18:15       snarkles: Hm.
01:18:24       snarkles: So we'd need different binaries for each platform, I'd guess.
01:18:28       Cybertnt: and when somebody on the web wants to md5 "hello world" the perl script would call the binary with that string and get the output, format that and give it to the user
01:18:31       Cybertnt: yes
01:18:45       Cybertnt: we need different binaries, or just have instructions on how to get it to work
01:19:07       Cybertnt: (how to compile it)
01:19:11       snarkles: Ok. We'd need to tweak it to make it more user friendly.
01:19:16       snarkles: But I think that'd be an option.
01:19:22       snarkles: Thank god we're not doing applets. *lol*
01:19:32       Cybertnt: what needs to be more user friendly?
01:19:40       snarkles: The installation procedure.
01:19:49       Cybertnt: we dont have one yet
01:19:52       snarkles: Ideally, I'd like them to just upload a bunch of stuff into a folder and have it work.
01:19:54       snarkles: Yeah, I know.
01:20:14       Cybertnt: yeah that way we would need to provide binaries
01:20:38       Cybertnt: the good thing is, those binaries can be used for the desktop version too, as long as we dont have a gui :D
01:20:51       snarkles: Yeah. :)
01:20:52       snarkles: Or.
01:21:19       snarkles: Would it be possible to write a GUI in something like C++ (just an example, don't shoot me :P) that ties calls the binary's methods remotely? 
01:21:45       Cybertnt: yup thats what i had in mind
01:22:17       snarkles: Cool!
01:22:23       Cybertnt: we have binaries of the sneak libraries with CLUI (command line UI) and on top of that goes the perl script / GUI
01:22:51       snarkles: k
01:22:55       Cybertnt: that way GUIs can be written platform dependent (!) because java GUIs look like shit
01:23:08       snarkles: Is something like that pretty easy to integrate with the way the classes are structured atm?
01:23:15       snarkles: lol yes, indeed they do.
01:23:21       snarkles: I was thinking of using SWT but I don't know much about it
01:23:27       Cybertnt: for example i could write a nice Aqua GUI on the Mac, you could write a nice WinXP GUI (dont know what that is called now a days) some one else could do it for KDE and so on
01:23:36       snarkles: Yeah.
01:23:41       Cybertnt: yeah it will be easy
01:24:14       Cybertnt: we will add the CLUI in the main package folder to access .algorithm (and .algorithm.template indirectly) 
01:24:24       Cybertnt: then we compile voila we have a CLUI
01:24:27       Cybertnt: + Library
01:25:00       Cybertnt: then the Web Project would take care of the Perl Interface and the GUI Project would take care of the platform dependent GUI Interface
01:25:11       snarkles: now the only thing is though that if we move away from using Java to do GUI generation, now we have at least 4+ different code bases that we have to maintain, don't we?
01:25:15       snarkles: Windows, Mac, KDE, Gnome
01:25:17       Cybertnt: thus our code wont be some slomo
01:25:20       snarkles: Oh, and web.
01:25:22       snarkles: So 5.
01:25:28*** flk has signed off IRC (Ping timeout)
01:25:29       snarkles: Plus the code library itself, which would be 6.
01:25:34       Cybertnt: well
01:25:47       Cybertnt: web + library will always be there
01:25:52       snarkles: That sort of shoots the advantages of using Java in the first place, won't it?
01:25:55       snarkles: True.
01:26:02       Cybertnt: so our product can be access through web and clui
01:26:06       snarkles: Ok, so we're adding an extra 3(+) things to maintain.
01:26:23       Cybertnt: now someone could just come here and say Hey i want an Aqua GUI insted of that stupid CLUI i will write one
01:26:33       Cybertnt: we dont have to maintain them
01:26:40       snarkles: Ok, that's fair.
01:26:44       Cybertnt: the GUIs will be different projects from web + library
01:26:45       snarkles: So the "official" project could have:
01:26:49       snarkles: 1. CLI interface
01:26:50       snarkles: 2. Web interface
01:26:54       snarkles: 3. Swing interface
01:27:11       Cybertnt: web + library == our 2 projects, each gui == projects of who ever
01:27:14       snarkles: And then we could link to "unofficial" GUIs which were like Aqua, XP Theme, KDE, Gnome, Windowmaker, whatever. :P
01:27:43       snarkles: Well, I think we should have a "generic" one that we can distribute from here for people who don't really care how it looks, they just want buttons, etc. to press.
01:27:44       Cybertnt: well i wouldnt consider Swing being official. I think the web interface will be enough
01:27:50       snarkles: (for the offline version)
01:28:01       Cybertnt: ah damn we want an offline version right
01:28:09       snarkles: Well no. ;) The whole point of this project was to make an offline version. If we want to keep the web version "official" we haven't gained anything.
01:28:17       Cybertnt: so yes our official projects will be the ones you listed!
01:28:28       snarkles: I mean we have. but the audience of this script I think would shy away from a cli only one.
01:28:32       snarkles: Ok, cool.
>+++++[<++++>-]<++[>+++>++++<<-]>+.>+.<
-.<+++[>+>--<<-]>.>-.>++[<+<++++>>-]<.<+.>.



Replies:


Guest:
Subject:
Message:
Signature:
Optional Image Link:
http://

CyberArmy::Forum v0.6
Generated In 0.01673 seconds


About Us | Privacy Policy | Mission Statement | Help