Archive for the ‘javascript’ Category
Ajax
Thought in progress..
Been playing with xajax for doing some simple input validations. I still notn get “it” yet, it seems to me that Ajax doesn’t really provide me with functionalities that aren crucial for web apps, sure you can do crazy things like drag and drop elements, rollovers,n sorting tables without reloading the page.. but so what? i mean web users expect that n creating request equals to page reloading, unless when ajax later on will become an industryn standard. I have a doubt about it, but will see. n 5 years ago, the hype was Flash, it was said that flash will be the norm for websites, well,n it isn’t and it ain’t going to be, in fact if ajax gains more popularity, it might replace somen things that are currently exclusive to Flash.
Avoiding the inlines
Yes, inline CSS and Javascript are bad and not elegant, but it’s quicker to build, ie no need to switch between the html and css files, furthermore for a site that the layout is somewhat not uniform, why would you want to declare a style in css file if the style is only applicable for an element of say a page?
Code readibility is quite bad actually for our framework (or at least on the projects that I did). Writing a readable codes do take longer time, in a project with a strict time constraint, the code correctness and keeping the project milestones are probably a priority. The best one can do is to improve the coding skills (and familiarity with the framework) so that good codes (and readable) can be produced in shorter time.
Javascript hacks
I’m working on The Human Network project right now. The page was designed by a graphic design company, S3Group is contracted to implement the design to a working website.
The design looks good, but it’s a nightmare to implement, lots of rounded edges which mean lots of tweaking and adjusting. One problem that gives me headche is rounded edges rollover bar. There are three sections of the bar, the customer wants to be able to create new bar by adding text themselves, thus the content in the middle must be editable (can’t do with simple bar with text image). If no rollover simple div with background.