How can I represent a software flow using a BPMN? [closed] - database

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I know that BPMN is used for Business Processes but is it possible to use it for software flows?
An example could be when a user enters a web application(www.foo.com) using his/her Google credentials(Google sign-in API). In this software flow the system compares the Google credentials(Google Database) with the web applications internal credentials(www.foo.com Database) to check if the user is an existing or a new user.
Please can you provide examples on how the BPMN is going to look like if possible.

Sure, if you choose to model that problem domain with BPMN, you can do something like that. I give you an example.
I am using here a BPMN 'collapsed pool' for the user, a 'message' for the Google API Credentials, 'service tasks' to characterize automatised software steps and a 'data store' to visualise the internal database. The read/write usage of the database can be visualised by ingoing or outcoming 'data associations' (the dotted arrows), but I recommend to use that cautiously, as data associations can quickly clutter a software oriented process model. Better focus on the process flow (the solid arrows, called BPMN 'sequence flows').

Related

Should I Store User Data Locally Or Server Side DB? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I'm working on a 'mental wellness' app, functionality for which includes things such as making journal entries (typed and voice recorded), recording affirmations, creating to-do lists, setting goals/targets etc.
My question is, should I store the user data from the above such actions locally, which gives the user a greater sense of control over their privacy or should I store it on our server in an encrypted DB?
My initial instinct was to go both to allow users to use to do things such as make journal entries even without internet connection, which can then send that data to server/DB once online again. But wasn't sure if this was a major drawback in terms of users privacy i.e. their 'private' journal entries being on our server/DB, albeit encrypted and widely used facilities i.e. AWS, Firebase, Azure. The obvious benefit of having it on server side DB is that they can use different devices such as phone and tablet or can have access if they move to a new device e.g. get a new phone.
But then the alternative I thought of was having users data all stored locally on device and then allowing them to sync to their iCloud or Google Drive or having the app auto sync. Is this a good alternative or compromise?
Is there a preformative benefit one way or the other?
I would appreciate your feedback on what you would consider the best route from both a user experience perspective as well as the technical best practice.
Many Thanks

Spring web flow and ExtJs 4 [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am not able to find a concrete answer yet on this forum or other's that, whether spring web flow can be used with Extjs 4.2 or later release of Extjs.
In case some one has integrated then kindly let me know the basic steps or guide to a specific example will be really helpful.
Thanks in Advance.
Rohit Dwivedi
The short answer is: "Yes".
Yes, because ExtJS does not need to (and does not) know how the server side is implemented. In its very essence, Ext sends a request to the server and expect a response, usually containing pertinent data.
In real life, you need to make decisions what part of the application logic will run on the server and what on the client and what the interface (API, request/response) will be between the two.
From the Spring site:
Spring Web Flow: Supports building web applications with controlled navigation such as checking in for a flight or applying for a loan.
So, if you want/need the server to be responsible for such flows, then go ahead.
If you want to implement the application logic (flows) at Ext client, then continue looking for the server side language/platform as you do not need the Web Flow functionality.

SO uses single or multiple databases? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to build a web application like StackOverflow, and I don't know SO use single or multiple databases.
SO has 2 main applications: Asking application and Chat application
Chat application uses SO account to login and display user's information in the chat room.
So I have some solutions:
Use 3 databases: one for common information, one for asking system and one for chatting system.
Use 2 databases: one for asking system (including common information) and one for chatting system.
Use only one database for both system.
Any body can help me? Thanks!
You have to ask yourself why you would need to use multiple databases. Why would you need to seperate data?
You seperate out databases when there is a business need: example - they cant be combined because they are both extremely large and they are completely different applications. By separating them out IMHO you are simply making more work for yourself.

Licensing on enterprise application [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am developing an enterprise application including central database, MVC web app, Mobile app client, web services and WPF client Windows service application which are working all together, I am going to make a contract with a company to grant them exclusive re-seller Representation .
So I am thinking a way to control the number of sales and provide them a license key for each sale to they could use the key in installation or other step and I want to get informed by the application whenever it is installing somewhere and want to prevent working when the license is used once or is expired or something. I need a solution from people who have same successful experience in this matter, indeed I have some ideas but actually I am not experienced in this issue and I'll be so happy to hear good approaches on this.
Thanks in advance ...
First you need to choose your preferred licensing system. A small list is available in the Question about OS Licensing Components. Second you'll need some kind of service where your reseller can issue licenses without real access to your private license key. E.g. some kind of webservice.
Then you'll have the number of licenses that your reseller has created and you can bill him.
If you also want to know which licenses was activated you can implement some kind of "phone home" in your application.

Creating and checking license numbers [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
To protect software, you can create a validation system which requires users to provide a valid license number (Often 25 letters or digits) which they have to enter with some personal information. This then gets validated (sometimes aby using a validation server, thus requiring online access) and when valid, the user can use the registered version of an application.
Now, simple question: What kinds of solutions are there which would allow developers to implement such a licensing scheme in an easy way into their applications? I could easily create my own solution but I don't want to re-invent the wheel again...
Ezirez Intellilock has a good solution and API to implement it.
Basicly you created a function of (HW ID, Registration Key) and check if it's right.
Intellilock is just a tool to help you lock the software if the license isn't there.

Resources