Recent

Author Topic: Open Source Lazarus project to learn by example  (Read 4015 times)

kveroneau

  • Full Member
  • ***
  • Posts: 119
Open Source Lazarus project to learn by example
« on: September 01, 2016, 07:11:51 pm »
Hello,

  I have been working on a new project in Lazarus, which is an open source project.  It is a networking project, it uses the TInetSocket class.  This is one of my first projects in Lazarus, and used more or less to learn and understand it better.  It is a Gopher Protocol client with some modern features.  There is a small community of gopher users trying to keep the protocol alive, and Firefox is removing support for add-ons which do network access, which will ultimately kill off the OverbiteFF add-on within a few releases.  My goal was to create a cross-platform native gopher client with a modern appeal to help keep this niche community alive for a couple more years.

  The entire project is open source and can be used by others trying to learn Lazarus as well.  It is not complete, and may not use best practices, but is very use-able.  I actually wouldn't mind some feedback from veteran Delphi/Lazarus developers on the code itself and any suggestions which will improve it, and make it more stable.  It is my first program in Lazarus, so there is a lot which can be done much better.  I actually want to place the networking code into a thread so that the GUI doesn't hang when you access network resources.

  This program also demonstrates a key advantage which Gopher had against HTTP, when you see in the program itself, you will notice a nice TreeView pane which is used to view all Gopher space servers.  The code repo can be found here:  https://bitbucket.org/kveroneau/gopherclient

  You can download a binary through my Gopher-HTTP proxy here:  http://gopher.veroneau.net/1library/PascalGopher  which also includes a few older screenshots.

  I made a quick YouTube video showing the program itself:  https://www.youtube.com/watch?v=NnQjtkfz5Ms

  From building this project, my initial impressions on Lazarus is why aren't more developers using this awesome development tool!  I come from the world of Python, where cross-platformness thrives, but Python requires such a large runtime to distribute software, it's not the tool I want to use to distribute software to the masses.  I will still use Python of course, but will use Lazarus for real cross-platform application development.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: Open Source Lazarus project to learn by example
« Reply #1 on: September 12, 2016, 11:24:12 am »
Gopher!!!!

I installed the Gopher client for Firefox some weeks ago.  Looks like there are a few servers up and running.  Sadly I have no idea how to take benefits from them.  %)
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

 

TinyPortal © 2005-2018