Jump to content
php.lv forumi

Aleksejs

Moderatori
  • Posts

    4,584
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Aleksejs

  1. Tad mans ieteikums: Vienkārši sāc kaut ko taisīt - kaut vai CS lapu (labāk kko citu, bet ja nekā cita nav, tad var arī to). Taisot daudz ko iemācīsies un tad jau redzēsi, vai interesē vai nē.

  2. Vispārīgos vilcienos runājot "mājaslapa vulgaris" sastāv no:

    Pārlūka pusē no:

    1) HTML daļas (iespējams variants, kad XML + XSL)

    2) CSS daļas

    3) JS daļas (ieskaitot JSON utt)

    Servera pusē no:

    1) Servera konfigurācijas-vadības direktīvām (atkarīgs no izmantotā http servera)

    2) Mājaslapas serverpuses koda (PHP/ASP/.NET/Java/JavaScript/Python/Ruby/Perl/ColdFusion/utt,utjp)

    2a) Mājaslapas datu glabātuves piekļuves koda (dažādi SQL dialekti/Failsistēmas piekļuve/NoSQL utt)

    2b) Starpsevisu apmaiņas koda (Dažādas messaging platformas RabbitMQ/ActiveMQ, dažādi SOAP/REST utt protokoli)

    3) citām lietām.

     

    PHP ir daudz piemēru, LV telpā pietiekami daudz zinošu cilvēku, kuriem var kaut ko pajautāt.

     

    Ar citām valodām varētu būt problemātiskāk - it īpaši, ja vēlies latviešu valodā, taču ne neiespējami.

     

    Drīzāk jautājums - kāds mērķis tavai interesei? Vienkārši iemācīties programmēt? Iemācīties programmēt un tad strādāt par progrtammētāju?

  3. Why Use the Triple-Equals Operator in JavaScript?

    http://www.impressivewebs.com/why-use-triple-equals-javascipt/

    “Determining whether two variables are equivalent is one of the most important operations in programming.” That’s according to Nicholas Zakas in his book JavaScript for Web Developers.

     

    In other words, throughout your scripts you’ll probably have lines resembling this:

     

    if (x == y) {

    // do something here

    }

     

    Or, if you’re conforming to best practices, this:

     

    if (x === y) {

    // do something here

    }

     

    The difference between those two examples is that the second example uses the triple-equals operator, also called “strict equals” or “identically equal”.

     

    Getting Truth Out of the DOM

    http://www.infoq.com/presentations/Getting-Truth-Out-of-the-DOM

    Yehuda Katz discusses techniques for keeping data out of the DOM based on the idea that retrieving such data from the DOM involves a performance penalty and may affect data integrity.
×
×
  • Create New...