Multiple forms in ASP.NET
Filed under: Computers, Javascript, PHP, Programming, Technology, Web Programming
runat=”server”) on the same page but I'm pretty sure that there is nothing stopping a
Essentially all you have to do is load the extra forms using AJAX and I think everything will work.
(I'm working a on a page (not in ASP.NET) that has a table of data with a status column. Each column needed to have a drop down box letting you change the status. Since the number of statuses is large I decided to have a link that AJAXly changed into the dropdown box and a button when you clicked it. Of course you could click all the links and not submit any of the forms leaving you with a page that actually has a bout 30 forms on it.)
BackBase really pushing AJAX
Filed under: Computers, Javascript, PHP, Programming, Ruby on Rails, Technology, Web Programming, XML
BackBase is another
Anyway, I don’t have time to run down all the features but basically it defines a whole new bunch of tags allowing you to create complicated content in a declarative HTML style way. These tags are then translated into proper
In fact BXML has a very
It all seems very clever.
BackBase
BackBase Demos
ASP.NET Atlas
Language learning ideas – bringing it all together
Filed under: Languages, PHP, Programming, Technology, Web Programming
Any regular readers I might have will know how much I like Pimsleur products for learning experience. I believe the basic idea can be greatly enhanced with computers. I did in fact try a short time ago but suffered from a lack of voice talent which is where speech synthesis could be useful.
Synthesised voices can be imported into the current system (which at the moment I wouldn’t be able to demonstrate since the voices need to be licensed if they are to be distributed) just by recording them to audio. This solution would allow maximum support since any browser with audio capabilities could use the system.
There is an advantage to using the IE plugin though (or any other system supporting SALT) – speech recognition. It should be entirely possible to actually have a browser based system that checks your pronunciation which would instantly make it better than any system out there.
Quite why none of the companies that create these synthetic voices have tried to develop a system like this I don’t know…
More stable server
I can't work out why
Another interview
Filed under: PHP, Personal, Programming, Technology, Web Programming
Within three hours of the end of the interview I got an email offering me the job :D
It gets better: the following morning (less than 24 hours later) the original place call me and offer me that job too :D
I took the second one.
Galaxia Ruby
Filed under: Galaxia, Games, MPOGs, PHP, Programming, Ruby on Rails, Technology, Web Programming
This follows the tradition I've been recently following of learning new languages by writing bits of Galaxia in them. There is a real possibility I might get a version out this time :P
This version may even have AJAXy goodness and things. But don't hold your breath...
Books galore
Filed under: PHP, Personal, Programming, Technology, Web Programming
There They’re an investment you see…
I have an interview
Filed under: Computers, Javascript, Life, PHP, Personal, Technology, Web Programming
Before they offered me a face-to-face interview they wanted to do a telephone interview first. This consisted of a series of technical questions I really wasn't prepared for ("What's the difference between an inner join and an outer join in SQL?", "What are the restrictions on cookies?", "What do the HTTP status codes 302 and 303 mean?").
But since they offered me the interview I guess I did quite well :)
(On an unrelated note, "Woohoo" is not in the Google spellchecker database but "Whoop" is....)
WordPress.com Themes
WordPress.com is a Blogger type service run by the creators of WordPress based on WordPress.
I have to warn you I have no experience using WordPress.com, and these comments are based on what I’ve heard.
There have a been comments about how theme support in WordPress.com is very limited since they obviously can’t let people run arbitrary PHP code. I’m not sure what they do let you do but there is a way that will give almost the power of normal WordPress templates.
I got the idea from WordPress referring to it’s template markup as tags (since they’re enclosed in <?php ... ?>). Why not actually use XML tags that correspond to the WordPress functions? These simpler themes could be transformed into real themes for WordPress that the user never sees. If they were parsed with regular expressions and went through a callback they could be vetted so only real WordPress functions are let through. Although it would have to be done carefully for security, it should be fairly straightforward.
So for instance, instead of <?php the_author() ?> you’d have <wp:the_author />.
More features for Extending SimpleXML
ExtendXML.
The first one is registerTagClass. This takes two arguments, the first is a tag name and the second is a class (that extends ExtendXML. This will make all children of that tag name become that class instead.
The second is registerTagCallback. This takes one argument, a callback. That callback must take one argument, a tag name and must return the class (as a string) that those tags should become.
If for example you were parsing HTML and you wanted all paragraph p tags to be handled by ParagraphXML, you could use:
ExtendXML::registerTagClass('p', 'ParagraphXML');
A word of warning, it's case sensitive. If a callback is registered this will be used regardless of any calls to registerTagClass.
If you've never used callbacks before, they take one of three forms. Either a string that is the name of a function, an array with the first element a class name (as a string) and the second element a static method of that class (as a string) or finally, as an array with the first element an object and the second element a method of that object.
