• Register Features
    Post
    Special prices and Sales for Registered users, bonuses and presents.
    Post
    Orders History. Personal profile for order information. Advanced comments.
    Post
    Fast Order, save your data for next visit. Advanced options for order.
EN / RU

How to prepare Task for process automatisation

How to prepare Task for process automatisation

TEXT TRANSLATED BY GOOGLE (Better version will be published soon)

Description of business processes (business tools)


1. Make a list of all cases that you do or should do an automatic system
2. Make a list of objects and their variants that are involved in the process
It is desirable to basic understanding of OOP, JSON, XML.
3. Make a list of unique features that can make objects
4. Create a block diagram of an embedded object, and logic sequences for easy perception.


You must understand:


Objects can have attributes (parameters on the basis of, for example: color, weight, price) and can be nested into each other with a certain sequence. This is the main essence of XML.


essentially functions the same objects, but they are able to manage the other objects, and themselves, without objects lose their meaning
The function should have a list of objects with which it works
The function can contain other features that can work with objects of external function and cause additional objects.
The functions performed by one downward.
The function can return a result - the object.
The function can sort nested objects


Basic ability to work with objects (operators):
- Mathematical operations (+ - * /, with ostachey division, percentage, rounding)
- Bust of embedded objects
- Sort nested elements by attribute (ASC, DESC)
- Operator: if, comparison ==, the presence of another row line, and Boolean operators AND, OR, NOT (and, or,!).


The objects and features will be named as they sound, in reality, English. To connect the words to use "_" (underscore). For example: user_door_code


In the case of work with the cookie, when you want to hide the names of objects, the abbreviated name can be written in brackets. For example: user_door_code (ud1)


Also important is optimization. The smaller the better repetitive information. For example, instead of objects user_visitor, user_client_1order, user_client_manyorders, you can make a user object that will have the attribute (property) user-> orders_count (Znachek "->" Indicates the nesting of an object).


Why is that? The less there are virtual names (intermediaries), the less need to spend brain memory. So before coming up with any new names, you need to think it might not need to.


Typical objects:
- Variable (Type = {string, an integer, with the point, logical})
- Client (tip_zakaza = {online} Up)
- Employee (position = {operator, shift supervisor, logistician, Managing}, employment = {inhouse, freelance})
- Computer (type = "stationary, notebook")
- The mobile device (type = "tablet, smartphone")
- Server
- File (type = {}, title = {})
- The files on the server (server = {crew} virgins)
- Cord (Type = {Ethernet, 220})
- The access point (router) (wifi = {yes, no})
- Net
- Provider
- The Internet


- MAC-address
- IP-address
- URL
- HTTP request
- HTTP response


- Website (title = {crew totoha ...}, url = {})
- Database (name = {crew} virgins)
- Tables in the database (name = {orders} discounts)
    - The field of the table (column)
    - Key field of the table (auto_increment)
    - Record table (Stoke, row)
    - Table users (users)
        - ID
- E-mail
        - Password
    - Orders Table (ekp_orders)
        - ID

 

- Interface (Platform = {web, iphone, android, Windows, Ubuntu})
- Mandatory interface elements
- Interface Design
- Link (href = link, title = text when you hover, open in a new tab = {yes, no})
- Form (Set the input fields, to send to the server)
- Button (Button)
- Text box (Input text) (autocomplete = {yes, no} = {object avtozapolnenie_spisok?}, Placeholder = {}, autocomplite (base) = {yes, no})
- Multi-line text field (TextArea)
- The drop-down selection (Select) (autocomplete = {yes, no} avtozapolnenie_spisok = {object})
- Select multiple elements (MultiSelect) (autocomplete = {yes, no} avtozapolnenie_spisok = {object})
- Block (sroll = {yes, no, vertical, horizontal})
- Picture (path)
- Text (text)
- Tooltip alert ()
- A pop-up confirmation confirm ()
- Pop-up block
- A pop-up browser window
- Google Map
- Yandex map


- AJAX
- AJAX request
- AJAX response
- AJAX URL
- API
- API request
- API response
    - API URL


- JSON
- XML
- HTML


- Cookie
    Partly Cookie (value = {})
- Session
    Session object (value = {})
- Files on the site (in the site folder, we use the folder / files /)


Typical features:
- Writing table
- Editing records in the table
- Deleting a record in the table
- Complex editing table (Type = {SQL query, SQL queries and code})
- Sending letters {type = "normal, HTML, mailerloop"}
- Clicking on an object in the interface
- Change the object and its attributes in the interface
- Adding, object cloning
- Deleting an item
- The button of the keyboard
- Focus on the object, removing the focus
- Timer repetition {= {yes, no}}
- Redirect {url = {}}
- Send an AJAX request (need AJAX URL, return AJAX response =)
- Send an API request (needed API URL, return = API response)

 

Example:


Stage 1 (Design)


Create interface URL http://site.com/add_user/


Create objects:
The form, it creates a text INPUT 2, with the base auto complete.
The placeholder INPUT respectively: Name, Password.
Block for messages.
Button text - SAVE.


Stage 2 (Programming)


After the approval of the design.


When you click on SAVE to create a validation function (add_user_validation):


If one or the other field is empty, add a message: "Golf is something empty, fill it before submitting the form"


If the password field does not contain capital letters or less than 3 characters, add a message, "Under the rules of the security password should be at least 3 characters and contain at least one uppercase letter"


AKA send this form via AJAX to http://site.com/add_user_ajax/


We get a response in JSON and check it:


If the variable is in JSON status = ok. Write variable user_id in the session, then we will use it. We are doing a redirect to http://site.com/


AKA add a message with the cause of the error variable error, JSON response.


Step 3 (Test)


Prepare a self-test case, to check all the aforementioned functions.


Step 4 (Filing work)


When ready to show CTO, COO and CEO, they claim close the task.


Step 5 (Marketing)


Rate how much time was spent on the development - it will cost business tool
Assess the impact of the tool to increase the company's profits - $ per month.
If the instrument for 1 year fought - it is a successful tool. If you strayed by 30-100% is also not bad. If less than 30% - this is BAD.

 


Example of Standards and Templates


As it was:


Stage 2 (Programming)


After the approval of the design.


When you click on SAVE to create a validation function (add_user_validation):


If one or the other field is empty, add a message: "Golf is something empty, fill it before submitting the form"


If the password field does not contain capital letters or less than 3 characters, add a message, "Under the rules of the security password should be at least 3 characters and contain at least one uppercase letter"


AKA send this form via AJAX to http://site.com/add_user_ajax/


We get a response in JSON and check it:


If the variable is in JSON status = ok. Write variable user_id in the session, then we will use it. We are doing a redirect to http://site.com/


AKA add a message with the cause of the error variable error, JSON response.


How to do it:


Define standard and submit it in the shared documents, all of the standards required for the study staff.


Standard №34 Create a simple registration form:


Required inputs: Function successfully entering data


Process:


Create a form in it to create 2 field and button names: E-mail, Password, Save.


Create a block for the message.


By clicking on the Save button to create the validation function (add_user_validation):


If one or more blank, change the text in the message box: "Golf is something empty, fill it before submitting the form"


If the password field does not contain capital letters or less than 3 characters, change the text in the block to report "Under the rules of the security password should be at least 3 characters and contain at least one uppercase letter"


AKA performs the function of successful data entry


And now the problem itself:


Stage 2 (Programming)


Create a form for the Standard №34 Create a simple registration form.
To form a successful function of input data:
Send the form to AJAX on http://site.com/add_user_ajax/


We get a response in JSON and check it:


If the variable is in JSON status = ok. Write variable user_id in the session, then we will use it. We are doing a redirect to http://site.com/


AKA add a message with the cause of the error variable error, JSON response.

 

Similar legislation is working, education, defense. Standards, laws and regulations are necessary for a common understanding of the overall process. Most of the standards and general principles taught in schools, colleges and universities.


Another example of a description in the form of essays:


Page Add friends


It is a form to send your friends list


In this form, there is a function to send


When sending out an object MailerLoop Letter


In a letter to a value Referral Link


A link takes you to the home page and in the object


There are treatment referral link:


If (IF) have a referral link, then (THEN) record in the COOKIE invitor_id


Further, the object popup Login and Registration Form, have the function of sending the registration form, if all fields are correct.


In this function, we added:


If COOKIE invitor_id> 0 then keep in the table user_parent_id users - this field and will be the identifier that the user is visiting.


Comments

Reviews can beleave only for registered users

REGISTER