Questions tagged [design-guidelines]
89 questions
0
votes
2 answers
Throwing NotSupportedException From Property Getters
I have heard it is inappropriate to throw exceptions from property getters, and I understand the reasons behind this rationale. However, the following situation is puzzling me: Imagine you are writing a facade meant to adapt to several different…

DotNetStudent
- 889
- 9
- 24
0
votes
1 answer
iOS header design guidelines
Client requires total 7 action buttons on the navigation bar of the app Home Screen. plus more action buttons on tapping of those buttons. and Additionally 5 menus for tab-bar.
Is there any risk in approval of this design? Can this type of design…

Krutika Sonawala
- 1,065
- 1
- 12
- 30
0
votes
0 answers
Combined Buy/Restore button for non-consumable IAP in iOS?
My question is not about the programming part, but the UI best-practices for IAP.
Situation: I have a single IAP ("Unlimited version") for my app, where I have a "Purchase" button, which will show inactive and change the text to "Activated" when…

Kerry
- 101
- 1
- 7
0
votes
1 answer
Statuscode guidelines when acting as a middle-man
Hello i want to understand if i as a server am acting as a middleman between the client and another server , what should i return to the client when any of the requests from me to the other server fails?
Currently i am sending the client a…

Bercovici Adrian
- 8,794
- 17
- 73
- 152
0
votes
2 answers
how is a user interface usually built?
I have four classes flight, passenger, seating chart, and waiting list. I'm trying to create a gui. I am new to swing so I dont know how it is done. should I create a separate class for a gui and build all the gui there or should I incorporate my…

dave
- 419
- 1
- 5
- 10
0
votes
2 answers
What is the good way of storing software version for python CLI ? ( --version)
Python CLI application display version using the --version argument.
What is the right way to store that information ? Argparse has an argument for that
import argparse
parser = argparse.ArgumentParser(prog='PROG')
parser.add_argument('--version',…

BeeShopRocks
- 124
- 7
0
votes
1 answer
Layout: center image inside center panel. Using percent units
I am trying to get a desing similar to the following in one of my Activities layout:
That is:
A white panel with 60% width of its parent. Center horizontally.
Inside that white panel, a image with 60% width of the panel, center
horizontally…

Alfonso_MA
- 537
- 5
- 26
0
votes
1 answer
Better style inside a vue.js app or outsource to the site embedding it?
I'm building my first vue.js app and I'd like to have some help on deciding a design approach.
This app is going to be embedded inside a page of a site - built with Drupal 8.
Both app and site are going to use bootstrap 4 as base framework and…

Giuseppe
- 379
- 4
- 13
0
votes
1 answer
Why have public constructors in custom exceptions
It seems that Microsoft Guidelines for creating custom exceptions state that there should be at least 3 public constructors: empty constructor, the one that takes a message and the one that takes a message and inner exception. My question is why do…

Yevgeniy P
- 1,480
- 1
- 15
- 23
0
votes
0 answers
Are Result objects the cleaner way to handle failure, than exceptions?
I moved this question to softwareengineering.stackexchange.com because it better fits there.
I was watching the following video by Vladimir Khorikov, which recommends to "Refactoring Away from Exceptions" pluralsight.com - Applying Functional…

Jonas Benz
- 503
- 3
- 12
0
votes
1 answer
Container view for a screen with multiple tableviews in iOS?
I have a UI as shown in the screenshot. I have currently done this using tableviews. The screen is a tableview with static prototype cell 4 rows. One for the header including the profile image, next for the profile bio, third row for the favourites,…

John Doe
- 2,225
- 6
- 16
- 44
0
votes
1 answer
What is the standard practice for designing REST API if it is being used for inserting / updating a list of records
We are building an API which will be used for inserting and updating the records in a database. So if the record exists based on the Key the record will be updated and if it does not then it will be inserted.
I have two questions.
As per REST…

Jags
- 772
- 7
- 17
0
votes
1 answer
Recommended control or page flow for iOS app
I have an app that implement only two main features - a form to create a table entry and another to look it up with entry screen as login screen. What is the best way to implement the screen flow navigation to these different features? Possible…

Abhishek
- 43
- 1
- 5
0
votes
0 answers
PCB track antenna or SMD chip antenna for BLE 5?
I am referring the options to choose antenna for data transfer over Bluetooth 5. Any guidelines to choose between these two- SMD Chip antenna or PCB track antenna.
Thanks.

Dhara Pandya
- 1
- 1
0
votes
1 answer
ABAP Real Life Program using guidelines
In ABAP Guidelines is mencioned the package SABAP_DEMOS_CAR_RENTAL with Objects that are used the Guidelines, but I looking for an SAP program using this guidelines.
In general the SAP programs are so bigger and I get lost in the source code, so…

I.B.N.
- 992
- 4
- 15