S
S
shadowrebel2016-09-04 14:42:46
Web development
shadowrebel, 2016-09-04 14:42:46

How to generate a directory hash in PHP?

You need to make the script generate a hash of a certain directory and send it to the user (echo, of course). In PHP, not a master, but in Google information on the implementation of this "like a cat cried", and to be more precise, it is not there. Node.js has a nice package called dirsum which calculates the hashes in all files and subdirectories + calculates the total hash and then outputs the result in JSON format. I would like to implement the same using PHP, or is it impossible, and all that remains is to enter all the hashes in a separate file and just change them when changing files? I do not ask, of course, to do all this for me, I only ask you to explain HOW

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dimonchik, 2016-07-09
@dimonchik2013

for design, balsamiq
mockups can be bought on the root tracker
for database architecture / models - tools for drawing to the database, from dbforge are not bad, but in general, who likes what (I don’t remember if there is in Naviket) + there are NoSQL Only fans, there xs what to advise
and - yes, this is the most important part, and, in fact, there is an application
, well, except that it would be nice to keep the queue server somewhere nearby, and not "in the rest"
for the rest (such as what the coac communicates with) - anything from Mindmaps to heavy UML and not just stuff like Rational Rose

M
Maxim Fedorov, 2016-07-08
@qonand

If the project is for yourself and you plan to do it yourself (on your own without a team):
Make an application prototype - schematic sketches of each page (it's good if it is interactive). This will allow you to organize your thoughts and think through various aspects of the application logic. Based on this prototype, you will be able to develop the application in the future. There are many ready-made solutions for prototyping, for example, Axure (it is paid, but there are also a lot of free tools).
If you order a design from a designer, it will be easy for him to understand the logic and structure of the project based on the prototype.
It all depends on the level of communication in the team, if the team is well-coordinated and works full-time according to one schedule, then a prototype + verbal explanations may well be enough for work. If the team is not coordinated, and each of the participants works at a time convenient for him - then do not waste energy on prototypes, it is better to order a full-fledged TOR from a professional (there are a lot of people involved in the development of TK on freelances)
Order a TOR from a third-party developer - save a lot of time, effort and nerves.

S
semki096, 2016-07-08
@semki096

I just constantly think about it, at first everything is done in my head.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question