Easy form population with jQuery and the Populate plugin
- Posted by Dave Stewart on September 18th, 2008 filed in Ajax, Easy, Forge, Formation, From the web, Kohana, Medium, Tutorials, jQuery
- 19 Comments »
A brief overview of the problem
The massive explosion in web applications over the past few years means that more and more data than ever is being saved and loaded from databases. Web application frameworks such as Kohana take a lot of the grunt-work out of the process of shunting data around, but there are still areas where manual work needs to be done.
One of these areas is in HTML form views, where you’re echoing your data back from the database into form fields such as text boxes, radio buttons and dropdowns.
Of course there are various ways to make this easier, most of which involve some level of automation, but all of which involve writing more, not less, PHP code.
So what if I told you you could populate any HTML form from your models with:
- One single line of PHP code?
- One single line of JavaScript code?
- And you kept your HTML forms 100% clear of PHP?
free viagra
buy viagra online
generic viagra
how does viagra work
cheap viagra
buy viagra
buy viagra online inurl
viagra 6 free samples
viagra online
viagra for women
viagra side effects
female viagra
natural viagra
online viagra
cheapest viagra prices
herbal viagra
alternative to viagra
buy generic viagra
purchase viagra online
free viagra without prescription
viagra attorneys
free viagra samples before buying
buy generic viagra cheap
viagra uk
generic viagra online
try viagra for free
generic viagra from india
fda approves viagra
free viagra sample
what is better viagra or levitra
discount generic viagra online
viagra cialis levitra
viagra dosage
viagra cheap
viagra on line
best price for viagra
free sample pack of viagra
viagra generic
viagra without prescription
discount viagra
gay viagra
mail order viagra
viagra inurl
generic viagra online paypal
generic viagra overnight
generic viagra online pharmacy
generic viagra uk
buy cheap viagra online uk
suppliers of viagra
how long does viagra last
viagra sex
generic viagra soft tabs
generic viagra 100mg
buy viagra onli
generic viagra online without prescription
viagra energy drink
cheapest uk supplier viagra
viagra cialis
generic viagra safe
viagra professional
viagra sales
viagra free trial pack
viagra lawyers
over the counter viagra
best price for generic viagra
viagra jokes
buying viagra
viagra samples
viagra sample
cialis
generic cialis
cheapest cialis
buy cialis online
buying generic cialis
cialis for order
what are the side effects of cialis
buy generic cialis
what is the generic name for cialis
cheap cialis
cialis online
buy cialis
cialis side effects
how long does cialis last
cialis forum
cialis lawyer ohio
cialis attorneys
cialis attorney columbus
cialis injury lawyer ohio
cialis injury attorney ohio
cialis injury lawyer columbus
prices cialis
cialis lawyers
viagra cialis levitra
cialis lawyer columbus
online generic cialis
daily cialis
cialis injury attorney columbus
cialis attorney ohio
cialis cost
cialis professional
cialis super active
how does cialis work
what does cialis look like
cialis drug
viagra cialis
cialis to buy new zealand
cialis without prescription
free cialis
cialis soft tabs
discount cialis
cialis generic
generic cialis from india
cheap cialis sale online
cialis daily
cialis reviews
cialis generico
how can i take cialis
cheap cialis si
cialis vs viagra
levitra
generic levitra
levitra attorneys
what is better viagra or levitra
viagra cialis levitra
levitra side effects
buy levitra
levitra online
levitra dangers
how does levitra work
levitra lawyers
what is the difference between levitra and viagra
levitra versus viagra
which works better viagra or levitra
buy levitra and overnight shipping
levitra vs viagra
canidan pharmacies levitra
how long does levitra last
viagra cialis levitra
levitra acheter
comprare levitra
levitra ohne rezept
levitra 20mg
levitra senza ricetta
cheapest generic levitra
levitra compra
cheap levitra
levitra overnight
levitra generika
levitra kaufen
Default controller for serving static pages
- Posted by Dave Stewart on August 22nd, 2008 filed in Kohana, Medium, Tutorials
- 20 Comments »
A brief overview of the problem
A framework such as Kohana is really useful when serving lots of dynamic pages, as it allows you organise both your thoughts and your code into folders, creating order from what could potentially be chaos, at the expense of having to adhere to a structured way of working, in this case setting up controllers and methods that are correctly mapped from URLs (routes).
Whilst this is necessary for dynamic content that needs access to models, helpers and such like, it’s quite a lot of overhead for static content that literally just needs to be output to the browser within the context of your website’s page template. If you’re not careful your controllers can very quickly end up bloated with itty-bitty “view this page” methods.
What would be great would be some magic method to automatically handle static content (view files), without having to set up an actual controller and method, that way all you really need to worry about is the view folder, and you leave your controllers folder and the actual controller classes nice and lean.
Read the rest of this entry »
Initial setup of a Kohana project, revisited.
- Posted by bennythemink on August 15th, 2008 filed in Easy, Kohana, Tutorials
- 9 Comments »
Hi again folks,
The last article dealt with setting up a single web application, but what if you need to set up multiple applications? For example I need to set up a site that is comprised of an administration application, a private section for our sales department and a public site.
Well its actually very easy! Using the structure defined in the original article copy and paste the applications directory for each web app your going to create, giving each a unique and meaningful name, e.g. app_sales, app_admin, etc. You should end up with something like the following: Read the rest of this entry »
New design for Kohana sites
- Posted by dlib on August 13th, 2008 filed in Documentation/API, Kohana
- 5 Comments »
There are some interesting discussions going on in the Kohana forums regarding a new design for the Kohana websites. Right now, nothing is definite so if you have suggestions, you are a Photoshop/Illustrator expert or you hold a degree in usability, feel free to have your say.
The goal is to have a consistent look for the website, documentation, forums, trac and this blog. Yes, this blog too will get rid of its standard WordPress theme.
Another thing happening in the forums is an effort to get the documentation up to date. If you want to help, read the thread as to what needs to be done and help us out. All the experts look at the changes being made so you don’t have to be afraid you break anything.
Kohana 2.2 API
- Posted by dlib on August 10th, 2008 filed in Documentation/API, Kohana
- Comment now »
As promised, here is a link to the Kohana 2.2 API Use it to write documentation or just as a reference, it’s all fine by me
The current trunk API is also still available. I try to give it a regular kick for some updates for those of you eager to follow svn development.
Anyway who wants to chip in with documentation writing, come to #kohana or to the Kohana forums or venture into the wiki for some direct editing.
On a side note, as you can see on the trunk API pages the codename for the new 2.3 release is kernachtig. A Dutch word that translates to ‘pithy, concise, brief’.