Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^5: Uniquely identifying each & every html template

by BrowserUk (Pope)
on Jan 21, 2013 at 17:56 UTC ( #1014505=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Uniquely identifying each & every html template
in thread Uniquely identifying each & every html template

Am i not still the same person i used to be?

Has your DNA changed? If not, you are detectably the same person.

So now all you need is something to detect in your files to make the determination.

But if Dreamweaver glitches and empties the file, you're stuffed.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^5: Uniquely identifying each & every html template
Re^6: Uniquely identifying each & every html template
by Nik on Jan 21, 2013 at 18:14 UTC
    Yes and i dont know if joomla does it too.....

    BUT i dont want to embed strings inside every files content.

    There must be some other way to identify the file, NOT the following attributes:

    1. filename
    2. filepath
    3. hash
    3. embedded string

    Really....how's the OS detects each file and its modifications?
      how's the OS detects each file and its modifications?

      It doesn't. When you edit a file, with most programs, the edited file is written out to a completely new file (with a temporary name), then the old file is deleted, and the temporary file is renamed to the old filename. The *ONLY* link between them is the name.

      That's life. Stop wishing for the impossible.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.
        You are right. What i ask cannot be done.

        so, i guess i have to decide if the identifier will be the "filepath" or the "hash" (based on file's contents)

        Which method do you advise me to use?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014505]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (16)
As of 2014-11-26 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (171 votes), past polls