Ophal 0.1-alpha8 released!

Submitted by develCuy on Sun, 2012-05-20 03:46:31

Ophal 0.1-alpha8 released under GNU GPL v3.0, more features and new license!

Download here!

Backend improvements

  • Hello SQL! Functions db_connect() and db_query() implemented thanks to  LuaDBI
  • New hooks: boot(), exit() and cron()
  • Output buffering support (disabled by default in settings.lua)

Performance improvements

  • Static cache provided by core module: Boost.
Theming improvements

  • Moved load of theming engine to first phase of bootstrap
  • New theming function logo()
  • Added function l(). And restructured function url() and theming function a()
  • Added DOCTYPE to main html template

The future

  • Sessions (cookies)
  • File Uploads(RFCs 1867 & 2388)

Contribute!

Blessings!

Ophal 0.1-alpha7 released!

Submitted by develCuy on Sun, 2012-01-08 04:08:08

Ophal 0.1-alpha7 is ready for your feedback!

Download here!

Theming improvements

  • Support for lua template tags: '<?lua' and '?>'
  • Function aliases: print_t for print(theme(...)) and print_f for print(str:format(s, ...))
  • Display template error messages in the frontend
  • Theme function calls made easy: theme{'img', 'path/to/image.jpg'}
  • Implementation of functions: parse_attributes()

The future

  • Added HTML5 to the TODO list
  • 2012 Mission and Roadmap update

Contributions are welcome!

  • Code: http://gitorious.org/ophal
  • Logo and mockups for ophal.org
  • Modules
  • Themes (a plus!)
  • Documentation
  • Feedback: what would you like to see in the next alpha release of Ophal? would you like to help?

Blessings!

Ophal 0.1-alpha6 released!

Submitted by develCuy on Fri, 2011-09-30 00:52:58

Ophal 0.1-alpha6 is ready for your feedback!
-- please reply in private about the name ;) --

Download here!

New website and twitter account

Relevant changes log

  • Ophal can now be extended by modules, try the hook menu and function path_register_alias() in hook init
  • Path system primitives: modules can define paths that display the output of a function callback
  • Alias support: modules can define aliases for existing paths. i.e: /note/1 => /my-aliased-url
  • Theming (templates) system, allow adding functions to render common HTML like url links and emails
  • Example module: lorem_ipsum with hooks and theming examples.
  • Error handling: prevent displaying a scaring "HTTP 500 Internal Server Error" (work in progress)
  • Debug module: enjoy the function print_r() from Nutria Seawolf.

Contributions are welcome!

  • Code: http://gitorious.org/ophal
  • Logo and mockups for ophal.org
  • Modules
  • Themes (a plus!)
  • Documentation
  • Feedback: what would you like to see in the next alpha release of Ophal? would you like to help?

Blessings!

HOWTO Install Nutria Seawolf

Submitted by develCuy on Sun, 2011-08-28 18:49:50
Install luarocks
Just in case you did not have it ;)


Install dependencies

$ sudo luarocks install lpeg
$ sudo luarocks install luasocket
$ sudo luarocks install luafilesystem
$ sudo luarocks install luaposix
$ sudo apt-get install libpcre3-dev # Ubuntu
$ sudo luarocks install lrexlib-pcre


Download/Clone Nutria Seawolf
Go to: https://gitorious.org/nutria/seawolf/commits/master
OR
$ git clone https://git.gitorious.org/nutria/seawolf.git


Important! You should now have a folder "seawolf" containing the file nutria.lua



Install
$ chown root: -R seawolf
$ sudo mv seawolf /usr/local/share/lua/5.1/


Blessings!

The birth of Ophal project

Submitted by develCuy on Sat, 2011-08-06 22:08:00

I were very frustrated with PHP in my very beginnings doing web development (8 years to date). But 2 years ago discovered my favorite programming language: Lua, and then decided to start the Nutria project. For more than a year I have tried several ways to "port" my web knowledge to Lua, and finally two months ago decided to do use my new Lua skills for real world web development.

And the result is: " Ophal... a highly scalable web platform, easy to maintain and extend. It is not married with a particular technology, just the essence will be kept on any major change needed to achieve its mission". Let me remark that Ophal has many influences, but the highest comes from Drupal, more will be elaborated about it in the future. Also, I'm giving a lot of credit to Lua, but LuaJIT is the actual compiler used behind scenes.

So ¿where is this going? My hope is to see Ophal growing and flourishing, Lua is so small, flexible and powerful - at the same time - that brings a world of opportunities: "Lua users typically fall into three broad groups: those that use Lua already embedded in an application program, those that use Lua stand alone, and those that use Lua and C together." ( Programming in Lua 1st edition by Roberto Ierusalimschy). Ophal would be an amazing project to bring together a diverse community.

Many thoughts come to my mind, but let the time show how this project goes. Your feedback is welcome, please let me know if you want to contribute, this will go anywhere without a community, join to this pioneering phase of the project.

Blessings!

Load stats:
- Wall Time: 6.28 ms
- MemUse: 213.09 Kb