On all things GUI!

Developer discussions about the GUI.

Re: On all things GUI!

Postby ilovezfs » Wed Jul 02, 2014 8:52 am

jeremychu wrote:Cool, see you on #openzfs-osx.
Hadn't considered Swift although now you mention it I don't see why not.

Only issue I see so far is that it's restricted to 10.9+. Not sure we should care.
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

Re: On all things GUI!

Postby zigmoo » Sun Jul 06, 2014 5:28 pm

ilovezfs wrote:
jeremychu wrote:I'm comfortable with Cocoa development if anyone is looking for volunteers.

Yes, of course. Come talk in #openzfs-osx some time. Any thoughts on doing it in Swift?


Building the 3 parts lundman mentioned should be do-able with just one line of swift code for each GUI component, right?
zigmoo
 
Posts: 1
Joined: Tue May 20, 2014 9:18 am

Re: On all things GUI!

Postby Surfer » Wed Jul 09, 2014 9:15 pm

ilovezfs wrote:
jeremychu wrote:I'm comfortable with Cocoa development if anyone is looking for volunteers.
Would I be correct in thinking a ZFS GUI would just be calling the command line tools? If so, then maybe a browser based tool might be better (although I'm not a fan of php these days). Would it be crazy to suggest node.js?

That is one approach, but mostly it will probably be better to link directly to libzfs and to lean on zed.


Where would I find the relevant APIs a GUI should use? Are there sample (also non GUI) clients?
Surfer
 
Posts: 7
Joined: Wed Jul 09, 2014 9:12 pm

Re: On all things GUI!

Postby lundman » Thu Jul 10, 2014 12:26 am

http://open-zfs.org might be a good stop, but really, looking at the sources for cmd/zpool cmd/zfs is also a good idea. The main commands are fairly small stubs, calling into libzfs.
User avatar
lundman
 
Posts: 1334
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: On all things GUI!

Postby tangles » Mon Sep 15, 2014 7:32 pm

RocketRaid use http://localhost:someport to interface with their HBAs.

If you want to have something that's unified, then this might be a base to explore for all platforms?
tangles
 
Posts: 195
Joined: Tue Jun 17, 2014 6:54 am

On all things GUI!

Postby ilovezfs » Mon Sep 15, 2014 8:23 pm

I think in our case, there is zero, or at best very close to zero, advantage in attempting to create a cross platform GUI, so those who only like working on cross-platform code should probably avoid GUI development and work on one of the many other facets of OpenZFS on OS X.
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

Re: On all things GUI!

Postby armdn » Fri Feb 13, 2015 10:32 am

Im also started to create OpenZFS fronted GUI, but things get slowly, Xcode 6 is a little pain for me :D :
Снимок экрана 2015-02-13 в 21.33.56.png
First step
Снимок экрана 2015-02-13 в 21.33.56.png (250.38 KiB) Viewed 36143 times


Compatability is planned 10.7+ (but if everything goes normally, there is also may be a PowerPC version for 10.5 with MacZFS).
Last edited by armdn on Fri Feb 13, 2015 10:42 am, edited 2 times in total.
armdn
 
Posts: 10
Joined: Mon Mar 24, 2014 9:05 am

Re: On all things GUI!

Postby ilovezfs » Fri Feb 13, 2015 10:35 am

Awesome! You should post the code on GitHub!
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

Re: On all things GUI!

Postby lundman » Sat Feb 14, 2015 3:14 am

Lookin' sweet
User avatar
lundman
 
Posts: 1334
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: On all things GUI!

Postby AlexWasserman » Fri Feb 20, 2015 7:38 pm

lundman wrote:http://open-zfs.org might be a good stop, but really, looking at the sources for cmd/zpool cmd/zfs is also a good idea. The main commands are fairly small stubs, calling into libzfs.


Does anyone have a good tutorial on ObjC and how to do this?

Currently I'm using runCommand calls out to shell to run zpool for status, and srubbing: https://github.com/alexwasserman/ZFSStatus

Would love to know how to link to an existing lib, however, ObjC isn't my language.
AlexWasserman
 
Posts: 11
Joined: Sat Mar 29, 2014 3:40 pm

PreviousNext

Return to GUI Development

Who is online

Users browsing this forum: No registered users and 1 guest