Traveller Store CotI Features New Posts Mark Forums Read Register


Go Back TravellerRPG.com > Citizens of the Imperium > General Traveller Discussions > Software Solutions

Software Solutions Discussions on Traveller related software.

Reply
 
Thread Tools Display Modes
  #1  
Old March 14th, 2019, 04:19 PM
robject's Avatar
robject robject is offline
Marquis
 
Join Date: Mar 2002
Posts: 13,862
Gallery : 9
Visit robject's Blog
robject has disabled reputation
Default Shipyard in React

If anyone out there has React experience, I'd love your opinions and suggestions.

I'm learning React at work, and I think one way to help me learn React is to design a Traveller shipyard program with it.

My idea is to do it sort of like an enhanced spreadsheet, so I could use a datagrid to display the ship's components. A pool of basic components will let the user add components to the ship, and custom editors allow modifications.

The problem is that I don't (yet) know the React way of doing this. What I do know is how to logically organize components:

For example, the single-page app would have a datagrid taking up most of the real estate, with a toolbar on the top (or bottom) that has a few important controls. For example, a pick list lets the user add a new component to the datagrid.

The datagrid itself displays data common to every component -- for example, volume, cost, and a description.

Every ship component has its own class, and its own editor for that class.

The event model seems straightforward.

I don't need Redux.
__________________
Imperiallines magazine
My Helpful Stuff for Traveller5
IMTU tc+ t5++ 3i(+) au ls+ / OTU 44% an+ dt+ ge- j- jf+ n- pi+ pp+ tr+ tv- uwp+ xb+
Tools Link
Reply With Quote

Welcome!
To see more of this thread, please login or register.
Reply

Bookmarks

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I'm looking for a Shipyard robject Software Solutions 5 December 24th, 2018 12:33 PM
Shipyard Production Garnfellow The Fleet 206 September 18th, 2016 11:04 PM
[Shipyard] X-Boat robject Traveller 5 6 May 13th, 2013 01:39 AM
How fast does the Imperial Navy react? rancke The Lone Star 65 July 26th, 2009 04:47 PM

This website and its contents are copyright ©2010- Far Future Enterprises. All rights reserved. Traveller is a registered trademark of Far Future Enterprises .
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (c) 2010-2013, Far Future Enterprises. All Rights Reserved.