Author - Web Developer - Educator
Found 3 results for tag "ajax"
RSS Feed

Not 4 years, but a Lifetime...

Internet Time - Pearls Before Swine

That's the motto for my brotherhood, Pi Lambda Phi, and today marks my 2 year anniversary of being a PiLam Brother! While today is a day for celebration, a number of things have also happened today.

While still cleaning the apartment for the inspection, I also got a lot added to the blog and did a lot in the apartment today. For example: I shared a video link and enabled a video player on the blog. I modified the Flowplayer code from the F&I site, along with the Flowplayer API documentation, and allowed for videos to be played on the blog. The current structure of the code may be a little long-winded, but it works for now until I find a better method to make it work.

I've also updated the Tweets with an AJAX-ified version so the blog loads a lot faster. The original code I wrote actually reads the RSS feed generated by Twitter and parses each entry as a "tweet." If Twitter has an issue with producing the RSS feed, then the blog would take a while to load and could take up to 10 seconds before a timeout is produced. The new way loads the page first, then loads the tweets with a limiter a second after loading. In a sense, it makes 2 small requests instead of 1 large one, so the processing method is faster. I also added a "Tweet" feature to each entry so the entries can be tweeted individually. Nice implementation if I say so.

I also completed the book interview sheet late last night and sent it in along with a few forms. I received a notification from the author saying "Thanks for your response. Yup, the questionnaire is a wee bit detailed, but I figured more info is better than less. Thanks for taking the time." I can't wait until the book is published to see what is said about me.

It seems like tomorrow should not be Monday, but I guess I better make the best of it.

Tags:#pearlsbeforeswine #flowplayer #ajax #pilambdaphi #book

RSS Feed

It just had to be Monday


Last night was fun for me, especially since I was on a roll with the .fadeIn()/.fadeOut() jQuery functions, along with a few animated sequences that I'm proud of. However, I was also working on making the .remove() function working as well with the "parent of the parent" issue. Luckily, I got that resolved.

However, I was up till about 4am last night working on the form builder, and I'm glad to see how far I am, but I regret staying up till 4. Keat had class this morning at 9:30, which meant that we had to get up at 8-ish. Knowing me, I usually kill the alarm and go back to bed till the last possible moment. And it doesn't help that Winter is unofficially here and it felt good to be under the nice warm covers and soft pillows. I wanted to call it a "sick day" if I could, but I knew that stuff had to be done and other requirements needed my attention, so cancel the "sick day" idea. How I desperately wanted to go back to sleep........

While Keat had class issues and presentation due at 7:30pm, I used the majority of the day fixing the data submission feature of the form, along with catching up on Eureka. I finished up Season 2, proceed to Season 3 3.5, and finished watching Ep. 7 earlier this evening, but let me back up a bit.

Since jQuery is still kinda new to me, I decided to study up on the form submission process, along with the AJAX background structure. I still prefer server-side coding to client-side, but getting to play around with a new, exciting language is just fun!

I found out about the .ajax() feature, and experimented with a lot of the .ajax() features, but the ones that interested me the most for this task were .submit(), .serialize(), and .serializeArray(), all of which come with their own pros and cons.

It turns out that I had to submit information via jQuery .ajax() method and send it in POST format, which was the idea until I saw that the original data stream for the tutorial was only in GET format (example: page.php?id=3&sel=Hi&p=4q), so I researched and found out that I could switch out the .submit() and .serialize() functions for .serializeArray(), which submitted the information in their original Array format instead of a serialized string (GET). Afterwards, I had to write a function that sorted through all of the fields (which were all arrays) and set up the database form structure based on the array placement, type, and name (along with maintaining the tableDnD library to allow the rows to be moved dynamically). Overall, it was quite a challenge, but I believe that Milestone 4 is 90% complete.

That brings me to about 7pm. Keat had to leave for class, and I thought about another sub-feature: What if the person designing the form needs to make a form go in-active, or they need to take it offline for a while to make some corrections? That's when I thought about adding a "Active" boolean variable to make forms active or not. And what better way to allow for this option (along with showing it off) than the iButton jQuery plugin! Most people see this on mobile versions of WordPress pages, but I found a custom library from Giva Labs which allows for custom iButtons side from the default On/Off.

Maybe a little show-y, but I like to test new features I learn.
Business Accelerator Progress - Form Builder:

Tags:#jquery #eureka #netflix #ajax #miletsone #ibutton #garfield #tracker

RSS Feed

Winding down the Semeter...

Well, I know that it's been over a month since my last post, but I have a good reason for it: I have been extremly busy. We now have a new client, the Student Support Services of Western, I'm talking to a new client (Desktop Factory), SD is now part of the Web Advisory Board for Western, we lost Catamount Communications to a "class project" (they'll come back to us, muh ha ha ha), and the UC site is a dud (the guy said that "we as individuals will redo the UC site"). AND...SD (which is now SD&T [Shadow Development & Technologies]) is trying to get ad space in the new LMP Calendar (it's going to be a flip kind, instead of the one sheet of paper).

Besides that, I had a lot of innovative ideas over Thanksgiving break, and only 2 weeks of classes left till exams!

I haven't been able to work on Verge much, but as I practice AJAX, I should be able to make Verge better than ever.

On the down side, big controversy with Sara and everybody. I've been out of the loop for a while, but it seems that Sara is apologizing to everybody (i don' quite know why). Also, I have discovered a new band: The Offspring. They've been around for a while, but I just heard them for the first time, and they ROCK! As I heard "Kids Aren't Alright," I was thinking of an intro for Keat's and my Manga series, Neko Sentou (of course, this will be for the anime, which I hope will happen soon). That song fits perfectly for an action-based series like this).

I don't know what else to later

Tags:#AJAX #LMP #Offspring #SGA #Shadow #Dev #Thanksgiving #Verge