Showing posts with label Developers. Show all posts
Showing posts with label Developers. Show all posts

html xhtml and css @web articles

As a web developer, you need to understand basic knowledges on html, xhtml and css to begin creating a page of your own. Web-articles.info carries a whole lot of articles on html, xhtml and css which are among the best articles for someone learning this scripting languages.

The site carries numerous articles where some of them explains basic steps on many frequently use methods or "how to do it" in plain simple way. Whether you are a beginner or an expert looking for some understanding of how a certain thing is achieved using html, xhtml or css, html xhtml and css @web articles has a lot to tell you. Going through the articles, you will be able to combine the worlds of html, xhtml and css. Topics on "how to use html flexibly", "Anatomy of an XHTML Document", working with Cascading Style Sheets and so on are described in details.


Articles are added regularly and there is a growing numbers of tutorials in the category as well as other categories available on the main home page of the website. The interesting part is that, if you need a daily fresh updated content for your website in any category available, web articles offers free fresh content for your website.

Of all the articles at web articles, the "anatomy of an xhtml document"by albert lichtblau is one cool article. As the articles quotes
The transition from HTML to XHTML will come with a fair number of bumps. While later chapters introduce tools to help you get past those bumps – and figure out where they come from – this chapter examines what's going to change and demonstrates a few strategies for handling those changes. Along the way, we visit the ghosts of browsers past and explore problems that exist in current browsers. In turn, you discover how prepared and unprepared various tools are for XHTML.

Visual Design and Usability

Visual Design and Usability are two factors web developers and web designers need to focus with. The two factors are the two ends of a scale, the more you try to add usability, the visual design can be compromised; the more attractive the website is, the less user friendly it may become. www.articlecity.info has a good article on web visual design and Usability.


Some usability gurus have traditionally expounded that developing a web site should be focussed on the usability, not the outlook. However, as opposing these views, User experience designers and Information architects have argue that, since human have the tendency of an extremely short "attention span", an attractive Visual design is essential to lure users making them stay on the site for a longer time.

Patrick K's article on Visual Design and Usability describes the how the two views exist together depsite being the different ends of the scale. A site with a minimalistic visual design is the major design scenario prevailing in the UX design world these days. A website loaded with graphics and animation may be attractive although losing usability functions or taking up more time in loading while a minimalistic website may look dull, however providing the necessary details or information the website is meant for.

For a better improvement in the fusion between usability and visual design, developers/designer has now been using Prototyping tools to create wireframe models of website outlays. This helps in determining the looks of the website in a proper way even before its development.

SIBI Online Music Player : Concept

SIBI Online Music Player (Alpha):
1) What is SIBI?
SIBI is a new generation Online Music Player. The main concept lies in its portability and user friendly aspects.
In SIBI, users can upload their own mp3s on the SIBI server, create their own SIBI playlists, manage their uploaded files and listen it through the SIBI online player from their home PC or Mac, PMPs such as the Ipod, or through their mobile devices which supports the required platform.

2) Why SIBI?
SIBI is different, or in fact the first of its kind. It is NOT an online Radio Player.
It is different because users can upload their own music collection on the server and access it from anywhere on this planet (of course when you are connected!!). It can be imagined as the Winamp combined with your hard drive online.
Many people usually have a wide collection of music in their PC or Mac, which usually of course, exceeds the capacity of a common PMP (say of 4gb or 8gb, I myself have a collection of more than 90gb!!) and almost everyone hears music while on the travel, on the way to college, on the way to his friends place and so on; but none have the time or the patience to choose out his favorite ones to be uploaded in his 4g or 8gb PMP. No one likes to sit down and make a new collection of his mp3s which will squeeze in his PMs Memory capacity and at the same time includes all his favorites. As a person’s music collection grows over time to time, he may have a lot of albums that he may like to carry around with him but which is not possible because:
  • Low Memory capacity of PMPs (Large Memory PMPs cost a fortune!)

  • Doesn’t have time to sit and pick out the ones he like; or to be precise, hardly if anyone is asked what are their favorite ones, he’ll be able to say just a few out of his huge collection. The truth is, the brain doesn’t give out like a printed list saying, ‘Here’s the list you would want to put in your PMP’… pardon us, we are HUMAN!!

  • But when you are on a journey, say a cross country tour, you won’t want to carry your laptop or PC over to everywhere you go, but the PMP, sure is meant for that time and moreover, you won’t know which type of songs you are going to listen during the journey; it depends on the place you visit, or the people you meet or it could be anything.

Bottomline: You do not know which one to put around. You just want to listen to it when you feel like listening to it.
3) Challenges to bring SIBI into production?
i) Users have to be provided a large online storage area, say 50gb for the start.
4) Purpose for SIBI?
SIBI provides users the ability to listen their favorite music anywhere, everywhere without any unwanted extra efforts, provided he has a supported connection on his PMP.
5) Monetization. 
SIBI is targeting to grab the music market. On the SIBI main page, ads for new album releases or monetized services related to music can be displayed so that users can buy them. (refer the UI design section). To increase sales, displayed new album should be displayed by finding out the user’s favorite band or music which can be known by checking out the most played songs in his or her playlist. By checking what type of songs the user uploaded, such as which bands, which region of the world the user belong, displayed new album info can be on the basis of user interest which increases the chances of sales.

SIBI USER INTERFACE: Updating.

© SIBI Music Player, 2009

Shristi.org: the Series of hurdles

I've been approached to build and launch the the website for the Techno - Management Festival of my university. I've designed and developed a couple of websites on my own and so it wasn't a big deal, or at least i thought so, for me at FIRST. Things however, have been going pretty weasy and confusing with various hurdles and problems i've to face which are quite unexpected and uncool.

The very first hurdle was when znetindia.com took 3 days to process my domain registration order. The second one came when i found out that znetindia doesnt bundle DNS control with the domain registration; and for which i've to activate an extra addon for the domain paying extra money. The third was the unfriendly user interface structure of the znetindia account manager area (if you are a starter, i bet you won't be able to find out where you should change your nameserver if your are changing your hosting service to some other service provider!). The fourth was when i realise that the TTL values for the DNS at znetindia was quite huge, which means any update in the DNS, A, MX, CNAME, NS, TXT etc will take time for its propagation. This happened when i mistyped the NS records and then i realise i mistyped it, i had to change it and for the change to propagate, i had to wait the whole day.

Later when everything from the domain point of view is working, unfortunately, my PC breaks down... or at least i thought so, coz later on i found it was my wireless modem problem. As an engineering student, and in the CSE branch, i use to do a lot of stuffs on my PC and it is not uncommon that i install a fresh copy of Windows a couple of times every month. This time, i'd already formated my PC 4 to 5 times since my semester starts, and that would be from the 1st week of Jan and i've already made it by heart the serial number to my copy of the windows. For development purposes, i've created a lot of complex structures, programs and databases that i don't want to lose but i'd to compromise some to make my PC working again.

Now, everything is set, the site is up (www.shristi.org, though still under active construction) and i'm using joomla cms for a quick built. A problem which i'd never faced before arises to my joomla hosting then. At the same hosting company, with the same apache, php and mysql configuration, i'm hosting another joomla website and it's not showing any problem but however in this website, problems after problems showered. I'd the problem fixed temporarily although it's not the best way to fix the problem.

The Joomla problem was that, whenever you try to upload/ install a component/ plugin/ module/ template etc, you got an error message "Warning! failed to move file".

This happens because of certain settings and file permissions on your joomla host. There are methods to overcome this problem but they are not the best yet known. For some, setting CHMOD to 777 for the" public_html/tmp" file seems to work but for others it's far from solving. Some solved it by disabling the FTP layer at joomla, but some solve it by just changing the temporary path "public_html/tmp" to "public_html/temp" or the vice versa. Other ways to solve includes giving the php file more space changing the php.ini, which requires contacting your hosting company. The best method, however, seems to be disabling the php "Safe Mode", which also require you to contact your hosting company.

For now, as my works need to be completed in a short period, i'd changed all the files/folders concern to 777 giving permission to change and execute to all while making the installation and then changing back to the normal CHMOD file permission after the installation is over; leaving no ways for hackers to poke their nose in. If you are having this problem, u can do it as i've done as it is the simplest and will always solve it regardless of the FTP, php.ini, apache or any other settings.

NovaTechNetwork has done a great job with there hosting servers. I prefer them.

Anyway, let me see if there're any other problems that are gonna pop up in front of me..

Web Design Tools

Software

Just in case if you’re curious about the tools web designers use, here’s the Mac softwares many designers prefer to keep on hand for design, web development, organization, productivity, and other miscellaneous playing around:

CandyBarPanic CocktailMaintain
CodaPanic Creative Suite 4Adobe

FontExplorer X ProLinotype KeynoteApple
LaunchBarObjective Development LittleSnapperRealmac Software
Snapz Pro XAmbrosia Software TinkerToolMarcel Bresink
TransmitPanic xScopeIconfactory
I believe you like this list too.

Bresenham's Line drawing Algorithm

As with the "Computer Graphics" programming holds, the Bresenham's Line Drawing Algorithm is one cool algo to play with. There's no pixel overlapping and it's kinda easy too. Here's the C codes for the program, just copy it out and see for yourself.

#include
#include
#include
#include

void main()
{
clrscr();
/* (x0,y0) and (x1,y1) the end points of the line,
dx = difference of the x co-ordinates,
dy = differenc of the y co-ordinates
p = descision parameter */

int x0,y0,x1,y1,dx,dy,x,y,xend,p,gd=DETECT,gm;
initgraph(&gd,&gm,"C:\\TC\\BGI");
printf("Enter x0,y0,x1,y1 :");
scanf("%d%d%d%d",&x0,&y0,&x1,&y1);
dx=abs(x0-x1); //Calculating the difference of the x co-ordinates
dy=abs(y0-y1); //Calculating the difference of the y co-ordinates
p=2*dy-dx; //descision parameter

/* The if-else statement puts the left coordinate out of the two ends in x0,y0 */
if(x0>x1)
{
x = x1;
y = y1;
xend=x0;
}
else
{
x=x0;
y=y0;
xend=x1;
}
putpixel(x,y,1); // puts the pixels on the screen
while(x< xend)
{
x++;
if(p<0) // for p<0
{
p=p+2*dy;
}
else // for p>0
{
y++;
p=p+2*(dy-dx);
}
putpixel(x,y,1);
}
getch();
}


How to reset my Joomla administrator password?

Joomla's admin username can be easily changed with a simple MySQL query. The most convenient way to manage the database is through the phpMyAdmin tool. Go to your cPanel and click on phpMyAdmin in the Databases box. (If you are not using cPanel or do not have phpMyAdmin, you can run the query directly for Joomla's database.)

Once in the phpMyAdmin select the Joomla's database from the drop-down menu at left. The page will refresh and the database's tables will be displayed on it. Open the SQL tab (look at the top navigation bar).

In the text field write the following SQL query:

UPDATE `jos_users` SET `password` = MD5( 'new_password' ) WHERE `jos_users`.`username` = "admin" ;

"new_password" - replace this with the new password you wish to use.
"admin" - replace this if your admin username is different.

Once you are ready, click on the GO button to submit the query. If everything goes fine without errors, you should be able to login to Joomla with the new password.

Note: These instructions are valid both for Joomla 1.5 and Joomla 1.0.*.

Portfolio

Welcome to pTAMz.

Current work I'm taking up is developing KanglaPark.com.

KanglaPark
Kanglapark.com is the Manipuri social networking site. An approach to connect the people of Manipur. With the emergence and the unpopularity of sites like manipurfriendfinder.com, there still are works to be done. I hope KanglaPark will get some attention though.

KanglaPark.com is powered by Joomla with Joomunity. Joomunity component is just released as
Beta 2 and there still are some really unwanted bugs and I'm working on correcting the php codes and some errors. As soon as the bugs are free, I'll be releasing KanglaPark.com as the beta version. Let's see how far KanglaPark can go.

KanglaPark: Get Social Icon


NERIST

The most recent work I've done is developing a website for our college at www.nerist.ac.in. Since I'm not much an expert in the new CSS plateform, the site has some 'looks' problem on Firefox and Chrome; although everything is perfect with IE 5 and above. The site has been launched under Phase 1 as still there are a lot of changes to be made. You'll fing many links still under construction as they are in the process of development. The main server, who originally was hosted my ernet at New Delhi, India was shifted to NERIST E.T. Cell and so, updation can be done in a flash. With usual college stuffs and exams approaching, the next phase is likely to fall next year.



Training and Placement NERIST
Before this, I've developed the NERIST training ang Placement Website at www.tnpnerist.com. Searching for cheap domain registrar and hosting service was a challenge. However, I made it at the end and I enjoyed developing the site. Currently, around 140 users registered to the site and it is functioning properly.


Here are a few stuffs I've prepared myself: logos, posters and general stuffs I've created over time. I'm sharing those which i've rendered at Coreldraw, Photoshop, Illustrator, and simple MS Paint!!.



Re Designed NERIST Annual Festival Logo (Orginal Design from
Deviantart.com)



Sample Poster Design



NERIST Web 2.0 Logo



Plain Ball Point Pen



Custom Banner



Wall Painting (Using Fabric)



CorelDraw



JNVthoks Logo

Joomunity Installation guide

The newly arising Joomla Community Component, Joomunity is the talk of the Joomla world. If you have a Joomla site, i suggest you check out Joomunity. You'll find it more intriguing than the existing structure of the famous Community Builder.

Here, I've provided a step by step instruction to a proper Joomunity installation. I've decided to write this post as i've checked their site, their forum and the installation guide at http://www.joomunity.org, and there seem that a lot of people got confused about the installtion steps, maybe mainly because at the download area, 3 different files are provided while at the installation section, only one file is used. A proper detailed descrition is not provided for the different files; although a very small description, stating the file name, size, author etc. are given. The site's installation guide didn't do much help as many users almost get losts which file is what!! The main reason could be that, the beta versions released till date are almost unstable and there are bugs and incomplete functions and other things to work out and no one can say for sure what should work and the developers are all busy with the works. However, you should check out Joomunity as it's a perfect piece of a Joomla site.

The first thing you should do before installation is to make sure you've the right version of php, MySQL etc. Check the screengrab to see the right version.

Here, with my skills and knowledge, I've learnt how to install the beta 2 properly...elimination one major error making your Joomunity installation working. Just follow the steps:

1) Download the V4 com installer from www.joomunity.org (Click com_joomunity-installer.zip to download) and then install it from the Joomla back end as a standard Joomla component.

2) Now go to the Components and use one of the mirror sites given to install Joomunity or to install manually, download joomunity.zip from joomunity.zip and then, as seen in the picture, chose the path to the file in your PC. Voila you're done installing. (Read till the end, there's one more thing to be done...)

You may be confused about the other 2 files, joomunity_11217.zip (2.96 MB) and joomunity_11218.zip (2.96 MB). Many people find it confusing. The file joomunity_11217.zip is the old beta 1 [ensemble] version, while joomunity_11218.zip is the new version also mainly used for installation using the old version of com_joomunity-installer. If you are making a fresh install, which is the best thing to be done, you should download V4 com installer and install joomunity following the steps above.

One important things is that, most probably, while going to your "Edit profile" link, you may encounter an error as below:
Fatal error: Call to a member function model_contact_view() on a non-object in www/components/com_joomunity/applications/Profile/profile.php on line 90

Edit your component/com_joomunity/applications/Profile/profile.php file commenting line 89 to 92. Below is the code section
$cmodel = $this->joomunity->get_instance("contacts", "model");
$c = $cmodel->model_contact_view($id);
unset($this->joomunity->contacts);
$tabHTML->add_tab(JText::_("JOOMCONTACTTABTITLE"), null, $c);
Or one other method is, just replace the above profile.php file with the old profile.php file from the old beta 1 version of Joomunity.

I guess your Joomunity installation must be working by now. Enjoy being social!!

KanglaPark: The RoadMap to its birth

I've decided to start a category "Roadmap" on my KanglaPark blog. KanglaPark.com, is still early in its development phase and the blogs under this category will tell you about the phases of its development, the works i've done, the difficulties - whether in scripting, integrating or designing templates, logos or anything KanglaPark.

For the first thing, i've some hard tasks finding out 
bugs from the joomunity component for Joomla. I like the looks and feel of joomunity to a much farther extend as compared to Community Builder, which have limited customizing ability. 
The very first thing i struggled was a good host. I've considered hosting it at novahost.org and since the cPanel doesnt have a Fantastico installer, everythng was manual - from setting up the MySQL databases, setting folder permissions and blah blah. The configuration.php file was unwriteable and it created quite a mess showing a lot of script errors. However, i got a little help from WHS and now everythings fine.

Joomunity social networking package was my main option. Since the package is also in its early development phase, it still has got a lot of bugs, limited plugins, extensions and features. I spent a whole lot of time rectifying and editing the php codes to the needs of KanglaPark front end.

As for the present, i've one more upgradation to do and after that, the site will be launched officially. Hope u'll hang by me for now. :)

For the poeple of Manipur, Kanglapark.com - soon to be open!!

Chrome Secrets

Type these on your chrome browser address bar and see what each of these do:
about:memory
about:network
about:histograms
about:cache
about:plugins
about:stats
about:version
about:internets (this one's really interesting!!)
about:dns
about:crash
Google really makes things interesting.