|
Posts Tagged ‘Web 2.0’
Posted by Alok Swain on August 3rd, 2010
In the recent railscasts, Ryan Bates has shown us the usage of Highcharts and some other open-source client-side JavaScript libraries to generate beautiful charts with no load on the server. A beautiful alternative solution to Gruff, Flash chart and other plugins and gems that depend on Rmagick or Flash and are generated on the server. Also associating events with the charts is also easy. Some of the other features provided by Highcharts are explored here. Posted in Software | No Comments »
Posted by Vamsi Krishna on May 4th, 2010
I created a simple app with Flex 4 as front end and Rails 2.3.5 as back end. Well these days I started refreshing my knowledge on Flex, so here is my attempt on showing a flex chart with some events associated with it in order to render dynamic data delivered by Rails. Well as for the Rails App i am not going to explain the code much deeper since it’s a simple scaffold. script/generate scaffold Report month:string profit:float expenses:float amount:float Before you read further, you can check demo of the app I developed at http://barchartapp.heroku.com/ Posted in Software | 1 Comment »
Posted by Alok Swain on April 13th, 2010
We recently published a blog on Drag-n-Drop Web Components using jQuery & Rails. Now we have extended it to dynamically load blogs and tweets of popular people working with Ruby/Rails and show it in one web page. You can quickly check the demo at http://popular-blogs.heroku.com/. Posted in Software | 1 Comment »
Posted by Vamsi Krishna on March 27th, 2010
Drag and Drop widgets are great functionality to let the user control how they wants to see the information as he can arrange various information blocks according to their preference. This type of functionality can be seen in some sites like Netvibes or iGoogle The interface provides the users to move the widgets to his choice and stored them in their database and show the order in which user stored them, I am trying to do this with the help of jQuery and Rails (v=2.3.5). Posted in Software | 1 Comment »
Posted by Balaji D Loganathan on March 24th, 2010
I came across an interesting discussion happening in Linked In RoR group with the topic RoR compared with other development platforms.. Posted in Software | 2 Comments »
Posted by Vamsi Krishna on December 3rd, 2009
In my previous blog on ‘Advanced Auto Complete’, I mentioned about how to pre-fill the fields upon selecting a company name for a person along with auto_complete feature (please have a quick look before looking in to this blog). In the previous solution we are getting results of companies (as a LI list of company names) based on the character you typed but, what if the company name is not unique ?. Let’s look at a simple example, Thought Works company is located in Chennai as well as in Bangalore, so I want differentiate both of them and I want to pre-fill the company details accordingly. (more…) Tags: Plugin, Ruby, Ruby on Rails, Web 2.0Posted in Software | 4 Comments »
Posted by Vamsi Krishna on June 26th, 2009
Autocomplete is very common feature that we see in many web2.0 applications (as in google,youtube and so on), this feature is easily implemented in Rails using auto_complete plugin But, what I wanted to do one more ajax call upon selecting the item from auto complete list, Lets take a scenario I have a form where my I take user Information and his working company lets just say that company has few more details like address, state and country. If I type a character in my company name textbox I should be able to see all the companies If I select any one company name from the list based on that company it should fill it address,state and country textboxes as well ( Here I am assuming that company name is unique). Let’s see how to do that using auto_complete plugin. Posted in Software | 5 Comments »
Posted by Neelkanth Ram on June 23rd, 2009
I stumbled upon two cool online presentation maker sites and started using it for most of my presentations. Posted in Review | No Comments »
Posted by Balaji D Loganathan on January 9th, 2009
Lets say you have a new user registration page where you validate user entered loginid against the database using Ajax and immediately display available or not. for this you might do like..
Sometimes it may take a while for ajax to complete the process of calling the remote database and read back responseXML, now if you want to show a loading or processing screen for that moment ?, just use this tip.
LoginID:
checking availability… Password: ….
LoginID:
loginid not available. Please try another. Password: …. You can also find some animated activity gif from this site. Tags: Ajax, Javascript, RIA, Web 2.0Posted in Software | 3 Comments »
Posted by Balaji D Loganathan on January 9th, 2009
Email ids shown in webpages like hello@domain.com or hello [at] domail.com were easily crackable using simple regex. Option 1: Clicking the word ‘My email id‘ will open default email program with the to email id and subject filled in. Copy and paste the below script inside head tag <SCRIPT type="text/javascript"> function email(user, domain, ext, subject) { location.href = 'mailto:' + user + '@' + domain + '.' + ext + '?subject=' + subject; } </SCRIPT> and call the function email as shown by the template below. <a href="javascript:email('balajidl','javaranch','com','hello there..');">My email id</a>
Option 2: <script type="text/javascript"> //<![CDATA[ document.write("<a href='mailto:balajidl"); document.write("@javaranch.com'>"); document.write("balajidl"); document.write("@"); document.write("javaranch."); document.write("com"); //]]> </script>
Option 3: Start thinking whether you want to display your emailid or not. Posted in Software | 6 Comments » |