M
M
michydev2020-03-25 19:19:42
linux
michydev, 2020-03-25 19:19:42

Should a layout designer write logic, such as a currency exchange calculator?

There is, as an example, such a calculator - https://obmenka.ua/
There is a design based on this calculator.
Order for layout, freelance.

Should a layout designer do logic?
Or is it just the appearance?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
S
Sanes, 2019-09-04
@Sanes

On OpenVZ, truncated iptables functionality. Especially on Venet. Check with the host.

2
20ivs, 2019-09-04
@20ivs

PPTP uses GRE and your VPS probably doesn't know anything about it.

A
Alexey Dmitriev, 2019-09-04
@SignFinder

As correctly noted, the gre protocol needs to be forwarded using -p gre.
It also needs support in the kernel. You can check it with the modprobe nf_conntrack_proto_gre command

A
Andrey Barbolin, 2019-09-04
@dronmaxman

Here it is messed up.
That is, the PPTPD server is located in the office, but is published through the OpenVPN tunnel on the VPS. Flight of fancy fire!)
Maybe it's worth simplifying the scheme? Set up a VPN server on a VPS, let users connect to it, and then configure traffic routing between the VPS and the server on the local network. Then you don't have to run gre inside openvpn.
By the way, I do not see any problem with setting up OpenVPN on the user side. The certificate can be one for all and lie inside the OpenVPN configuration file. Importing such a file is easier than setting up pptp on the client side. And OpenVPN has more flexibility, you can transfer routes to the client so as not to gank all client traffic through the office network.
Here is an example of such a file. I cut the certificate and key, the IP is also not mine. My users log in to OpenVPN via ldap and get routes. Everything works great.
client
remote 52.144.45.33
dev tun
proto udp
auth-user-pass
tls-client
cipher AES-128-CBC
port 4444
resolv-retry infinite
#mute-replay-warnings
ns-cert-type server
nobind
persist-key
persist-tun
verb 3
key-direction 1
-----BEGIN OpenVPN Static key V1-----
1be1dee306e9faef5306d30375a07a03
ea969f8efc0e47323f9aef973d88480f
ac5c9c921646ccadd107d49670862716
eebe836d8b5ff03
d1699873958d36f762026f963e15abab
bbe3031f689d6184b9e80a3c1cad644e
3b4bf2cefd47635516f7613cf761ca26
bfbd1219dbcc311620927783a9bc1b3f
----- Static OpenVPN END key V1 -----
----- ----- BEGIN CERTIFICATE
EwdFYXN5UlNBMSEwHwYJKoZIhvcNAQkBFhJob3N0bWFzdGVyQGRlcHMudWEwHhcN
MTYxMDE2MjEyNDI3WhcNMjYxMDE0MjEyNDI3WjCBkjELMAkGA1UEBhMCVUExCzAJ
BgNVBAgTAktWMQ0wCwYDVQQHEwRLaWV2MQ8wDQYDVQQKEwZERVBTVUExDTALBgNV
BAsTBERFUFMxEjAQBgNVBAMTCURFUFNVQSBDQTEQMA4GA1UEKRMHRWFzeVJTQTEh
MB8GCSqGSIb3DQEJARYSaG9zdG1hc3RlckBkZXBzLnVhMIIBIjANBgkqhkiG9w0B
gdUSxVWvcIve4rN9ePjaFtMdScSxjglDZ / HPoWvw + hYXqwIDAQABo4H6MIH3MB0G
A1UdDgQWBBSa h9VJXUzlwcOxxEtPuLhO2DwWjCBxwYDVR0jBIG + / + MIG8gBSa h9V
JXUzlwcOxxEtPuLhO2DwWqGBmKSBlTCBkjELMAkGA1UEBhMCVUExCzAJBgNVBAgT
AktWMQ0wCwYDVQQHEwRLaWV2MQ8wDQYDVQQKEwZERVBTVUExDTALBgNVBAsTBERF
UFMxEjAQBgNVBAMTCURFUFNVQSBDQTEQMA4GA1UEKRMHRWFzeVJTQTEhMB8GCSqG
SIb3DQEJARYSaG9zdG1hc3RlckBkZXBzLnVhggkAodrTRL9C / bEwDAYDVR0TBAUw
AwEB / zANBgkqhkiG9w0BAQsFAAOCAQEAld8LGYLHCPyn / + A6 + liY9DIgh yfoqGwz
EDZ1kgjEKiH5hOg5QBhNdohAuYP1K9uGNF581TlcQCyLmnXPcChqJzvdEQt / F7VK
----- ----- END CERTIFICATE

D
Dmitry Belyaev, 2020-03-25
@bingo347

Depends on what you have written in the contract with the customer and in the TOR

R
Robur, 2020-03-25
@Robur

When it comes to freelancing, you either take an order and do it, and then you have to do what is described there, or you don’t take it, and then you don’t have to.
And what do you call yourself at the same time (or the customer will call you) - a layout designer, programmer or second secretary of the algorithmization department for unclosed tags, completely on the drum.

X
xmoonlight, 2020-03-25
@xmoonlight

1. Layout designer - makes html5 markup and css3 styles (+ connects resources: images and fonts from the layout).
2. The logic of the reaction of objects to events - writes the front-ender in js.
"Design Calculator" - only layout.
"Make a calculator" is a layout + front-end coder for js.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question