English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés
Σ: 1 post

saxus  (statz) Agyfasz
#9, Agyfasz (419)
991 | #1c37 | ^ | Idézet | Sun, 29 Apr 2012 18:33:35 +02
84.3.*.* Unknown Unknown Hungary *.catv.pool.telekom.hu
Ja igen, mielott mondanad, hogy miert nem csinalok ServerSideFooFunction meg ClientSideFooFunction -t. Azert nem jo, mert amit a scriptszerkesztoben osszerak az ember, az futhat kliens es szerver oldalon is. Raadasul szerkeszteni ugye csak kliensoldalon tudjak, igy mindket helyen mukodnie kell. Raadasul, ha kettot irnek belole, (ugyanazok a szamitasok, ami a lekerdezes korul van), akkor ketto kodot kellene karbantartaom. Persze, lehetne template method patternt is hasznalni, csak akkor meg azzal szivnam meg, hogy mindenkepp kell egy megfeleltetest csinalni, hogy akkor most a FOO fuggvenyem az most hol milyen Foofunction leszarmazott.

Tisztabb, ha egy logika van, es a valtozo adatot kiszervezem kulon osztalyokba es csak interfacen keresztul kommunikalok.

(Egyebkent ez az, amit nagyon elfelejtenek az OOP tanitasakor mindenhol, hogy a "feluletre fejlesztes" egy nagyon fontos sarokkove - lenne - az egesznek es nem csak esz nelkul csinalunk mindenre kulon osztalyokat.)


English | Magyar
JS ki | CSS ki | Ékezetek ki | HiContrast
Lapozó:  (0 - 1424) 
<== | ==>
Ugrás a végére | Összes megjelenítése | Utolsó oldal
OpenOpera patches | Opera-SSL patches | Opera 12.15 source (Git repository) | Opera 12.15 source (Torrent) | Opera internal pages | Otter Browser Linux x64 - Qt5.15.2/QtWebKit5.602.1 (2024.04.27. 20:05)
OS for MC680x0 | OS for PPC | OS for Sparc64 | besztofbégéaefcé | CSÉNDZSLOG | WebToolz | DDG Shit Filter | Google Shit Filter | Progz | Fast CSS Box | Browser | OS | Agent | Statisztika | BBCode
Monospace font-family: Courier New | Browser default monospace
Email értesítő / Email notification ===> 
Keresés

Név: (max 255 byte)

Email: (max 255 byte) Nem kötelező!

Üzenet: (max 65536 kar.) 65536-0=65536




crap_vkn v4.34.0 by TCH
Thx to saxus for the escaped string decoder function (PHP), the realIP function (PHP) & the SQL handle layer (PHP), to thookerov for the int_divide function (PHP), to Jeff Anderson for the getSelText function (JS), to Alex King for the insertAtCursor function (JS), Flood3r for the new CSS styles, Pety for the spamprotection idea and some design and comfort ideas, MaxMind for the IP2Country database, famfamfam for the flags of countries and an unknown PHP programmer for the removeAccents function.



Kecskebaszók ide!