• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

To Devs: GUI code documentation

Scheduled Pinned Locked Moved webGUI
4 Posts 3 Posters 2.0k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    sidis405
    last edited by Nov 29, 2011, 12:26 AM Nov 28, 2011, 11:03 PM

    I started using pfSense not too long ago. Initially in development and now in full-fledged production environment and almost replaced all the debian-based routers firewalls i had managed/setup before.
    Needless to say, works like a charm  ::)

    Since besides a sysadmin i do also a lot of web programming (coincidentally in php) to create my own network management/monitoring tools, i started taking a look and fiddling around with the webGui source code.
    Now, i understand that a lot of the code was taken from m0n0wall, and if it does well what it's required then no need to touch it, but it's unclear as hell.

    There is no one, including myself, that likes to document while coding, but, is there anywhere, as rough as it may be any documentation, diagram, anything really, that sheds some light on the webGui code?

    :)

    1 Reply Last reply Reply Quote 0
    • M
      marcelloc
      last edited by Dec 22, 2011, 2:54 AM

      If are planning to build some packages, there a 'framework' inside pfsense to help on it.

      take a look at some packages source code at https://github.com/bsdperimeter/pfsense-packages to undestand better.

      In a simple way:

      • You build package gui using xml files

      • You apply changes and/or read xml values in a php script with .inc extension

      Treinamentos de Elite: http://sys-squad.com

      Help a community developer! ;D

      1 Reply Last reply Reply Quote 0
      • N
        namezero111111
        last edited by Dec 29, 2011, 9:25 AM

        Incidentally, I started doing the same. Want to collaborate?

        1 Reply Last reply Reply Quote 0
        • M
          marcelloc
          last edited by Dec 29, 2011, 12:17 PM

          @namezero111111:

          Incidentally, I started doing the same. Want to collaborate?

          Take a look on how to help
          http://www.pfsense.org/index.php?option=com_content&task=view&id=47&Itemid=77

          Treinamentos de Elite: http://sys-squad.com

          Help a community developer! ;D

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            [[user:consent.lead]]
            [[user:consent.not_received]]