{"id":18055717,"url":"https://github.com/buzz/alreves","last_synced_at":"2025-06-14T20:34:21.366Z","repository":{"id":445139,"uuid":"67636","full_name":"buzz/alreves","owner":"buzz","description":"Alreves as a Rails plugin","archived":false,"fork":false,"pushed_at":"2018-08-11T17:19:46.000Z","size":32,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T20:41:25.072Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buzz.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2008-10-25T12:13:51.000Z","updated_at":"2019-08-13T13:39:30.000Z","dependencies_parsed_at":"2022-07-14T13:20:51.918Z","dependency_job_id":null,"html_url":"https://github.com/buzz/alreves","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzz%2Falreves","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzz%2Falreves/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzz%2Falreves/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buzz%2Falreves/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buzz","download_url":"https://codeload.github.com/buzz/alreves/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247313894,"owners_count":20918715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-31T01:11:36.797Z","updated_at":"2025-04-05T09:24:19.363Z","avatar_url":"https://github.com/buzz.png","language":"JavaScript","readme":"alreves 2008 by buzz\n \n-- ALREVES\n \nAlreves is an web application framework based on an unusual design\nconcept. It's still in early development.\n \nAnd the idea behind it?\n \nThe short answer:\nAlreves moves the application view entirely to the client's computer.\n \nA bit longer answer:\nWhile usual web application frameworks generate the HTML-code on the\nserver-side Alreves goes the other way around and processes templates\ndirectly in the user's web browser.\n\n-- FIRST STEPS\n\nTo create the famous 'Hello World' example using Alreves on Rails:\n\n1. Create Rails project:\n\n $ rails my_project\n\n2. Engines is an extension to the Rails own plugin system that Alreves depends\non. So we install it first:\n\n $ cd my_project \n $ script/plugin discover\n $ script/plugin install engines\n\nPut this line in 'config/environment.rb' just below the\nrequire for Rails’ own boot.rb file:\n\nrequire File.join(File.dirname(__FILE__), '../vendor/plugins/engines/boot')\n\n3. Install jRails plugin as Alreves uses jQuery and not Prototype.\n\n $ script/plugin install http://ennerchi.googlecode.com/svn/trunk/plugins/jrails\n\n4. Alreves comes as Rails plugin:\n\n $ script/plugin install git://github.com/buzz/alreves.git\n\n5. Alreves comes with some own special routes. Include the following line to your\n'routes.rb':\n\nmap.from_plugin :alreves\n\n6. Adjust 'app/controllers/application.rb':\n\nAdd to the top of the file:\n\n  require 'alreves_controller'\n\nChange class definition:\n\n  class ApplicationController \u003c AlrevesController\n\n7. Create a minimal 'public/templates/border.tpl':\n\n\u003cp\u003eHello World!\u003c/p\u003e\n\n8. Delete 'public/index.html'\n\n9. Run 'script/server' and fire up 'http://localhost:3000/'\n\n-- LICENSE\n \nAlreves is free software. It's released under the GPL v2. See file\nLICENSE.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzz%2Falreves","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuzz%2Falreves","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuzz%2Falreves/lists"}