Posts tagged: web-development

My “experience” with web-programming languages

Listen to this Post. Powered by iSpeech.org

HeyHey reviewsHey reviews ho guys, I want to write about my OWN experience in different programming languages. This is only MY personal view. So don´t take it to serious :) (Oh and its from the view of web development )

Java: This language was made for persistent client side applications which are aimed for portability. Java was never intended on a “per” request base. Like other web programming languages. Java is like regex in greedy mode. There scenarios where it might be useful to use it, but in general it is to much. (RAM, CPU power and so on)

RubyRuby reviewsRuby reviews: If you say Ruby, you have to say Rails (Ruby on Rails: RoR). Ruby is an awesome programming language. Maybe THE best web-programming language out there. It is a pleasure to program and code in RoR. The only drawback is, if you want to extend RoR. With all its hooks, API calls and “standard” over configuration paradigm. You have to crawl deeply into he API to extend it. I don´t mean simple MVC “extensions”. This is by far the easiest (And probably) the best way to extend it. But if you want more complex, more independent project plugins, it is a pain. Beside this problem RoR is slow, sure you could cache, cache and even more cache. But I think caching should be a boost to your application. Not a solution of a problem.

PHPPHPPHP: The world leader, the world best and well known web programming language out there. There is no problem which could not be solved with php. It is fast, reliable and “spread” around the world on nearly all servers out there. And if the server can´t run PHP, you could extend it, to run PHP. There plenty of frameworks out there for PHP ( If I remember right, someone counted 130). Which are written in an opensource license. If you don´t like one, just chose another. If you want a job in web programming, it is like a guarantee to get one. This are the good points of PHP, now the drawback(s): It has a sluggish and splattered not well written “API”. Sometimes functions which do string manipulation are written with underscore, sometimes without. (As an example). The OOP in PHP is more like an addon and not well integrated. There still hosts/servers out there which only run PHP4 (PHP without real “OOP”)

PythonPythonPython: This is a programming/ script language which gets more and more attention. I am just starting to get in touch with this programming language. So my points maybe something like a hype or not really from experience. This language looks also a bit sluggish,with strange signs in code :) . But it looks very promising, feels fast and expendable and is well documented. I would say to sum it up: If you don´t like Java, Ruby or PHP, this looks like the perfect balance between performance and OOP for web programming languages.

I will never return to RoR or Java, mybe I will return to ruby if something better than RoR would come out, but my personal favorite at this moment is python/ django!

Some things I learned in web-development

Listen to this Post. Powered by iSpeech.org

Here I want to write about some common mistakes in web-development. Those things aren´t programming related. More “good” practice things.

If someone make the wesite design. And someone else have to code the “html/css” you should:

Name the elements by site/page and position

For example, if you designed a news background header. Which is seen when a news is shown, you should call it: news_show_header_background.jpg
Or another example, some things need/ have a border. On top, left, right and bottom. For listing news.
you could call it: news_list_border_top.jpg

If you have to show a table. You should determine if the data is scanned vertical or horizontal. Or even both.

Here is an example

row_1

As you see, the vertical line are thicker as the horizontal lines. Which make it easier for the eyes to read the vertical data. The numbers are right aligned. Which makes it easier to compare them. You could even alter the colors, of each row. But use only “slight” different colors. So just a little bit brighter/ darker.

You have to remove both lines, if Data should be read vertical AND horizontal. But try to avoid things like this. Better make two tables.
Well the last case should be easy to know. Make horizontal lines thicker and the vertical lines thiner.

Try to do queries at the end of script ( or other external things like soap/ xml ) So the user see something when it may”stop”

This is  more “ui” related, try to build with as less points as possible. And everything reachable with two clicks

The points thing. An example:

BadBad reviewsBad reviews:

[table]
[tr]
[td]THING ONE[/td]
[td]THING TWO[/td]
[/tr]
[tr]
[td]THING THREE[/td]
[td]EMPTY FIELD ( NOT SEEN)[/td]
[/tr]
[/table]

Better like this:
[table]
[tr]
[td]FIELD ONE[/td]
[td]FIELD TWO[/td]
[td]FIELD THREE[/td]
[/tr]
[/table]

So the eyes have to move “less”

  • The so called F navigation system is the most excepted “site style”
    Top navigation, left sub navigation, and in the middle the content.
  • Use everywhere the same header and bottom design. So the user knows where  the content starts and ends.
  • The most start position for a mouse on a website is top left.
  • The eyes move from: Dark to bright, from big objects to small objects.

movement binds the user to look at. so try to create movements which “aid” the eyes. SimplestSimplest reviewsSimplest reviews example are arrow. AND stop the movement after 2 secs or less. ( OR if there is no way to stop it, or it must move) add a stop button or make it “slow”.

So don´t use big “rectangles” where you just place “eye candy”

Some people know how colors “create” reactions on people. But most of them don´t know that different countries, have different color “feelings”. It is no problem if you write in German for example, or in ChineseChinese reviewsChinese reviews language. Those sites are “targeted”. But if you write in English, people could come from everywhere. If you don´t want to “annoy” Chinese people ( Just an example ) Try to use very bright or dark colors. Or avoid colors at all :) . Cause very bright colors, or dark colors don´t “trigger” the color emotions. If you take a look at mc donalds, amazon or ebay. They use bright colors. And have much “white” background.

With this way, they don´t create emotions, which they don´t want to create.

Another thing is: Try to avoid faces. Or forms which could look like a face ( If you write in English ). FacesFaces reviewsFaces reviews create different emotions, from different persons. The only exceptions are womens. ( Sorry, but sex sells ) Or if you are a model agency, or sell clothes. Or it is your “personal” blog. Faces make things like this more “personal”. Or a small firm.

I hope, I could help some people with this, if you have any questions, feel free to ask!

LouiseBrooks theme byThemocracy