Last questions

1
answer

How to implement automatic caching component Bitrix?

How to implement auto-caching in own components Bitrix? At the core of D7 components are instances of class CBitrixComponent that implements the method StartResultCache, EndResultCache and AbortResultCache. The signature of a method call StartResultCache does not imply a place for tagging the cache etc., then how to implem...
Humberto.Doyle55 asked April 4th 20 at 14:22
1
answer

ReactJS: How to assign a variable the result of fetch(list of objects)?

Beginner in js: Need to use variables storeProducts(array of objects) and detailProduct(specific object) later in the program, but they are not visible outside getDetails. How to solve this dilemma? Tried to assign without async functions and await keyword, but in this case, instead of an array of Promise objects return {}....
Tommie46 asked April 4th 20 at 14:22
2
answers

It is best to use for authentication, if the user data can change at any moment?

At the moment, use jsonwebtoken, bcrypt. After checking the password and login. Give each user a token and assign it to a cookie (the session lifetime to 1 day). There was a problem with the fact that you can block the user. Which strategy to choose in this case. In the token to enter the user id and do a DB query for infor...
elwyn.McLaughlin asked April 4th 20 at 14:22
1
answer

How to start the docker container with an indication of the values in the files?

Hello! We faced the need to automate the startup of the container with your files: - there is a configuration file in which for each run of a container you need to make the new parameter value - prompt how to make so that when the container starts (or building image) and specifying the desired values have been the value to...
Mike asked April 4th 20 at 14:22
1
answer

Where can I find information about how to efficiently store data on the client obtained (json) from the server?

With servers come in the data where arrays and objects are nested in one another, and this data on the client then it is very difficult to manipulate. How to learn how to effectively store and use the data on the client to access was simple and easy? What can be read, or that you will be able to recommend to me ?
daphne_Gutkows asked April 4th 20 at 14:22
2
answers

How to get rid of ladders outline the button with a pseudo-element?

That's the problem - doing the arrow to the border of pseudo-elements with a twist. But the focus appears such an ugly stroke Helped padding to 1px and probably transparent border Principle bad, without taking into account the fact that the item was more, but maybe there is some other, more nice way?
Wanda90 asked April 4th 20 at 14:22
0
answer

Do I need to make a license agreement when you use the services of analysts?

Use Google Analytics and Unity Ads in the mobile game, the Firebase can see where my user (country, town), do I need to compile the license agreement and privacy policy, or you can leave it so? And how to understand when I do not use the personal information, and when personal?
kelton.Farre asked April 4th 20 at 14:22
1
answer

How to compare array with database?

Hello, actually you need to compare the array of textarea: $pieces = explode(PHP_EOL, $_POST['links']); and that comes from a database, the database has only: id, name Here is how I tried to implement it: $pieces = explode(PHP_EOL, $_POST['links']); foreach ($pieces as $value) { $result = $connect->query("SELECT * FR...
connie_Corw asked April 4th 20 at 14:22
1
answer

Gradual integration Nuxt?

Kind people, please tell me how korektno place to start nuxt to integrate into an existing php project?
kavon.Grant asked April 4th 20 at 14:22
0
answer

How to use vuex with apollo graphQL?

Good day, first try with the apollo, and it is not clear how to use vuex and whether you want to do? If not, how to change the status in it? If vuex we have actions and mutations. Let's say I added an item to cart, how to organize it with vuex all clear, but with no graphQL
melody74 asked April 4th 20 at 14:22