Category Archives: Programiranje

Kako do broja PI? Korak 1

Broj π se može obračunati na više načina (Arhimed, Bazelski problem i slično), a čini se da je jedna zakonotost povoljna da se to uradi programski.

Posted in Programiranje | Tagged , , | Leave a comment

PHP vs Python pack format comparation

Differences between PHP and Python pack/unpack format characters

Posted in Informacione tehnologije, Programiranje | Tagged , | Leave a comment

What’s new in PHP 8

After a lot of to-ing and fro-ing as to when PHP 8 would be released, the developers have now announced that November 26th, 2020 is the date we’re waiting for. The new version of PHP is expected to come with … Continue reading

Posted in Drugi pišu, Informacione tehnologije, Programiranje | Tagged , | 1 Comment

PHP list() and Shorthand for Array Destructuring

PHP construct list() or its shorthand can be useful in many cases. It can be very useful to use it with PHP functions that returns arrays. Supun Kavinda have interesting article about.

Posted in Drugi pišu, Informacione tehnologije, Programiranje | Tagged , , | Leave a comment

25+ JavaScript Shorthand Coding Techniques

This really is a must read for any JavaScript developer. Michael Wanyoike, Sam Deering have written this guide to shorthand JavaScript coding techniques that they have picked up over the years. To help you understand what is going on, they have included the longhand versions to give some coding perspective.
Continue reading

Posted in Drugi pišu, Informacione tehnologije, Programiranje | Tagged , | Leave a comment

JS simple autocomplete – najprostiji način

AJAX autocomplete formiran pomoću HTML5 datalist taga

Posted in Informacione tehnologije, Programiranje, Softver | Tagged , , | 2 Comments

JS validacija, jednostavan način

Postoje 2 načina za validaciju formi na osnovu mesta izvršenja validacije. Jedna je obavezna server-side validacija (php, asp, java), a druga je na klijentskoj strani i za to se uglavnom koristi Java Script. Kažem uglavnom, jer moderni browser-i imaju ugrađene validatore.

Posted in Informacione tehnologije, Programiranje, Softver | Tagged , | 4 Comments

JQuery UI je koristan, ali…

Neke osobine u jQueryUI css mogu da naruše css sajta.Recimo, .ui-helper-clearfix:after { clear: both; } valjalo bi zameniti sa .ui-helper-clearfix:after { overflow: auto; width: 100% } Koristan link: http://www.quirksmode.org/css/clearing.html

Posted in Hosting, Internet, Programiranje, Softver | Tagged , , | Leave a comment

JavaScript Module Pattern

Smanjivanje broja globalnih promenljivih i njihovo premeštanje u lokalne (privatne) promenljive donosi više reda u svim jezicima, pa tako i u JavaScript kodu. Ako znamo da se na stranicama često nalazi više različitih skripti ovakvo označavanje ima više smisla.

Posted in Drugi pišu, Hosting, Internet, Programiranje, Softver | Tagged | Leave a comment

Create Microsoft Office Minibar with jQuery and CSS3

Vredi probati, interesantno je za neke aplikacije: Izvor: http://www.jankoatwarpspeed.com/post/2010/05/23/microsoft-office-minibar-jQuery-CSS3.aspx

Posted in Drugi pišu, Informacione tehnologije, Programiranje, Softver | Tagged , , , , | Leave a comment