• Website and Server Monitoring Tool

    Posted on June 9th, 2010 Artur Sonnenhohl 1 comment

    On this last months i am developing a website and a server monitoring tool. What this tools will be able to make is internal and external monitoring.

    External Monitoring:

    - HTTP CHECKS

    - ICMP CHECKS

    - TCP CHECKS

    Internal Monitoring:

    - CPU USAGE

    - HARD DISK USAGE

    - MEMORY USAGE

    - PROCESSES RUNNING

    Preview of the app:

    External Monitoring Screen

    External Monitoring Screen


    Internal Monitoring Screen

    Internal Monitoring Screen

    What i need to know if some of you guys wanna test it, and what you thing about this type of applications?


  • Creating a webservice client on Visual Studio 2008

    Posted on April 25th, 2010 Artur Sonnenhohl No comments

    Hello guys,

    I will show here how to create a web service client on Visual Studio 2008, you will see how easy can be that.

    1. Right-click on your project and go to add web reference.

    Add web reference

    2. After that you need to insert the url of the web service and then the windows normal steps, next, next, finish. In my case i am connecting to a webservice running on my own machine.

    Insert webservice url

    3. You will note that if everythings go fine, VS 2008 will create the source files ready to use.

    Code generated

    4. Here is a sample code about how to use your webservice client inside your application code.

    localhost::NetunoWSService ws;
    System::String^ res = "WS NOT AVAILABLE";

    try
    {
    res = ws.sendData(this->email,this->password,this->hostname,data);
    }
    catch (System::Exception^ ex)
    {
    //res = ex->ToString();
    res = “Web Service is not available or your internet is down”;
    }

    5. If you change something on your webservice server application you will need to reload the web references.

    Enjoy! Any questions i am open for discussions!


  • The good and the bad things about flash based websites

    Posted on March 4th, 2010 aymen No comments

    Flash-based websites have been the inspiration since last year, and will create more great features, such as Macromedia Flash into account we can only predict there will be more and more flash sites around the Internet. However, Flash based sites have been disputed to be bloated and unnecessary. Where exactly do we want to draw a line? Here is a simple overview.

    Good:

    Interactivity

    Flash ActionScript opens up opportunities for the entire area. Flash designers and programmers InteracTV functions of a very lively feedback forms to attractive Flash-based games to create. This is an entirely new level of interactivity is always to leave the visitors back for more.

    A standardized site

    Flash, you do not have to worry about cross-browser compatibility is ensured. No more suffering on the way a certain CSS code displays differently in Internet Explorer, Firefox and Opera. If a Flash site, the position of the elements, they always seem to when the user Flash Player installed.

    Better expression through animation

    Flash, you can forward this life-giving properties of the message much more efficient and effective manner. Flash is a simple way of animation, vector graphics, since they (and hence a smaller file size based), rather than real “movie files”, and so much more to the network.

    Bad and the Ugly:

    Flash Player

    People have to download the Flash Player in advance if they can flash movies, flash, such as number of visitors is markedly reduced, because not everyone is ready to download the Flash Player to display only your site. You have additional work to redirect the user Flash download page if he does not have a player installed.

    Website Optimizer

    If you have your Flash content, most search engines can not index the content. Therefore it can not rank well in search engines and less traffic heading to your website.

    Loading

    Users need to be longer than usual, losing to load Flash content compared to the normal wait for the text and pictures, and some visitors may be only the patience and click the Back button. More to download the flash duration, the greater the risk of losing visitors.

    The best way is to use Flash only where necessary interactivity and motion that is accompanied. Otherwise, use the mixture to use Flash and HTML or text, if your site has a simple text and graphics information is provided.


  • 3D flash animator,a powerful flash design software for dummies

    Posted on February 16th, 2010 aymen No comments

    3D flash animator is one of the most powerful easy to use flash design softwares i ever used,the friendly interface and the pe one of theowerful commands made this software one of the best i ever used.

    Here is the features of this software:

    3D Flash Animator
    3D Flash Animator has all of the tools needed to create stunning animations, as well as the interactive components and programming power to build sophisticated website interfaces and arcade-style games. All this can be done using an interface that was designed to be simple and easy to use.
    Painting
    3D Flash Animator has an advanced set of painting and drawing tools. Brush options include 3D effects with feathering and shadows.
    Animation
    3D Flash Animator has a number of different animation interfaces. You can choose from a wide range of special effects such as path animation, key framing, morphing, and motion blur. The timing of events can be given in frames or seconds.
    3D Animation
    Although Flash does not directly support 3D, 3D Flash Animator has the power to create 3D animations and export them as Flash files. 3D models can be imported or built within the interface. These can then be animated using a range of special effects.
    Scripting
    3D Flash Animator allows you to harness the power of Actionscript 3. You can use scripting to control every aspect of a movie. The programming interface is easy to use, and the user is provided with wizards and debugging tools. The language has been streamlined to make it simpler and better suited to developing interactive animations and games.
    Game development
    Unlike other Flash tools, 3D Flash Animator supports complex properties such as velocity and acceleration. These features and others such as scrolling backgrounds, easy keyboard detection, and collision detection, make 3D Flash Animator the ideal tool for website game development.
    Database support
    Only 3D Flash Animator supports extended HTML with tables. 3D Flash Animator also supports XML database connections over the internet and can be used to create database front-ends for web pages.

  • Keyword Stuffing

    Posted on October 2nd, 2009 jaghanivasan No comments

    This involves the calculated placement of keywords within a page to raise the keyword count, variety, and density of the page. This is useful to make a page appear to be relevant for a web crawler in a way that makes it more likely to be found. Example: A promoter of a Ponzi scheme wants to attract web surfers to a site where he advertises his scam. He places hidden text appropriate for a fan page of a popular music group on his page, hoping that the page will be listed as a fan site and receive many visits from music lovers. Older versions of indexing programs simply counted how often a keyword appeared, and used that to determine relevance levels. Most modern search engines have the ability to analyze a page for keyword stuffing and determine whether the frequency is consistent with other sites created specifically to attract search engine traffic. Also, large webpages are truncated, so that massive dictionary lists cannot be indexed on a single webpage.


  • Backup and Restore MySQL Databases

    Posted on June 1st, 2009 Artur Sonnenhohl No comments

    I will just show the most basic and used methods for mysql backup and restore.

    1st Method - Mysql Dump

    The mysqldump is the most common method for backuping a mysql database, a database dump is a text file with the create tables, columns, insert rows…

    For making a mysql dump (backup) use the follow command:

    single database: mysqldump -u user -p password database-name > backup-file-name.sql

    all databases: mysqldump -u user -p password -A > backup-file-name.sql

    For restoring a mysql dump use the following command:

    mysql -u user -p password database-name < backup-file-name.sql


    2nd Method - Mysql Folders Backup

    The folder backup is faster, all the mysql databases are on the folder /var/lib/mysql, each database is in a single folder.

    For backuping using this method use the follow command:
    tar -cf backup-file-name.tar /var/lib/mysql/database-name

    For restoring using this method just decompress the file:
    tar -xvf backup-file-name.tar

    That´s it, now you just need to use your method.

     


  • Using Compete.com API in your Website

    Posted on March 9th, 2009 Artur Sonnenhohl 7 comments

    Compete.com is a company that provides web analytics, visitors, keywords driving traffic and more. Some of the results that compete.com offers are just for paying users other no.

    In this post i will show you how can you use the api from Compete.com in your website, like i did in my http://whois.gwebtools.com/compete.com.

    1 step: Register for a developer user account.

    Register Compete Screen

    Register Compete Screen

    2 step: Register your application to get your personal API key.

    Register App

    Register App

    3 step: Start coding using your API key.

    Sample Call

    http://api.compete.com/fast-cgi/MI?d=google.com&ver=3&apikey=1234567890&size=large

    Sample Result

    <ci>
    <dmn>
    <nm>google.com</nm>
    <trust caption=”Trust”>
    <val>green</val>
    <link>http://toolbar.compete.com/trustgreen/google.com</link>
    <icon>http://home.compete.com.edgesuite.net/site_media/images/icons/trust_green_53.gif</icon>
    </trust>
    <rank caption=”Profile”>
    <val>2</val>
    <link>http://toolbar.compete.com/siteprofile/google.com</link>
    <icon>http://home.compete.com.edgesuite.net/site_media/images/icons/profile_3_53.gif</icon>
    </rank>
    <metrics caption=”Profile”>
    <val>
    <mth>12</mth>
    <yr>2006</yr>
    <uv>
    <ranking>2</ranking>
    <count>115,120,111</count>
    </uv>
    </val>
    <link>http://toolbar.compete.com/siteprofile/google.com</link>
    <icon>http://home.compete.com.edgesuite.net/site_media/images/icons/profile_3_53.gif</icon>
    </metrics>
    <deals caption=”Deals”>
    <val>1</val>
    <link>http://toolbar.compete.com/deals/google.com</link>
    <icon>http://home.compete.com.edgesuite.net/site_media/images/icons/deals_on_53.gif</icon>
    </deals>
    </dmn>
    </ci>

    How to parse it?

    You can develop your on xml parser, but if you use PHP or .NET it is really not necessary you can use the scripts that Compete.com provides to you.

    .NET wrapper

    PHP5 wrapper

    PHP5 wrapper in the PEAR repository

    More info access developer zone from Compete.com