Post pobrano z: Inspired Needleworks![]()
Wszystkie wpisy, których autorem jest admin
F.One – Bandit3 Most Wanted
Kari Jobe
Post pobrano z: Kari Jobe![]()
31Three
Post pobrano z: 31Three![]()
friendly duck
Post pobrano z: friendly duck![]()
Twhite
Post pobrano z: Twhite
Guinness: Bring It To Life
Post pobrano z: Guinness: Bring It To Life
Advertising Agency: AMV BBDO, London, United Kingdom
Executive Creative Director: Paul Brazier
Creative: Paul Brazier
Agency Producer: Yvonne Chalkley
Director: Johnny Green
Post House: The Mill
Multiple Links Inside One: Pluralink
Post pobrano z: Multiple Links Inside One: Pluralink
Pluralink is a tiny JavaScript library for displaying multiple links inside one link.
Rather than mentioning all your links one-by-one, a major link will be displaying all the options when clicked.
Usage is pretty simple:
<a href="http://firstlink.com/||http://secondlink.org/" title="First link description||Second link description">Some pluralink</a>
is all to do after inserting the JS file into our webpages.
The cons are:
- not unobtrusive (if the JS is off, the links won't be working)
- no RSS support (Pluralink team says "they are working on it")
The library also comes as a WordPress plugin for easier integration.
Special Downloads:
Ajaxed Add-To-Basket Scenarios With jQuery And PHP
Free Admin Template For Web Applications
jQuery Dynamic Drag’n Drop
ScheduledTweets
Advertisements:
SSLmatic – Cheap SSL Certificates (from $19.99/year)
Dreamhost $50 Discount Code: WRD
Follow WebResourcesDepot At Twitter And Get More Resources!
Tags: Javascript
Related posts
- Zoom Script With A Smart Interface: TJPzoom
- YUI Slideshow: Customizable And Animated Slideshows
- What You See Is What You Ajax: WaveMaker
- wForms: Easy JavaScript Form Controls
- Web Based FTP Client Similar To Windows Explorer
Puma Tribes
Refactoring your code to Fluent Interface
arno.alvaana@gmail.com (Arno Zijlstra) napisał interesujący post:
With the introduction of chaining methods together in PHP 5 we now have the opportunity to implement Fluent Interfaces in PHP which opens up an interesting way of writing more readable and smaller code.
Fluent Interfaces are not a new programming construct, they provide us with the ability to directly de-reference an object, PHP developers can build objects using fluent interfaces.
On the first look this might look like abracadabra if you are totally new to the new buzzword “Fluent Interfaces”. Fluent interfaces are best described as way of chaining methods of an object together. By having a method return a reference to the object itself, return $this; you chain methods together like this:
$this->methodOne()->methodTwo()->methodThree();
The point of using fluent interfaces is simple; to make your code easier to read (and in the end also easier to maintain). My interest has been triggered by the articles Júlio Pontes has been posting on the All […]
Czytaj dalszą część postu
