pakyow 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README +54 -0
- data/lib/pakyow.rb +8 -0
- metadata +102 -0
data/MIT-LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2011 Bryan Powell
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# Introduction
|
2
|
+
|
3
|
+
Pakyow is a web framework for Ruby that knocks out projects with a serious
|
4
|
+
punch. Pound for pound its the best way to build a web app. Get ready to rumble.
|
5
|
+
|
6
|
+
Pakyow brings a unique approach to development:
|
7
|
+
|
8
|
+
## Views are views.
|
9
|
+
Views are 100% HTML, no template language required. The view has finally been
|
10
|
+
freed from logic.
|
11
|
+
|
12
|
+
## Views are data aware.
|
13
|
+
A view knows what it presents. Use this to create powerful connections between
|
14
|
+
business logic and views.
|
15
|
+
|
16
|
+
## Keep you moving forward.
|
17
|
+
Prototype an app by building the views first. Then write the view logic
|
18
|
+
without changing a single view.
|
19
|
+
|
20
|
+
There are two main components of Pakyow. The first is Pakyow Core, which
|
21
|
+
handles routing requests to business logic. The second component is Pakyow
|
22
|
+
Presenter, which gives an application the ability to have a presentation
|
23
|
+
layer and provides mechanisms for the controller to bind data to the
|
24
|
+
presentation layer. Pakyow Core can operate independently of Pakyow
|
25
|
+
Presenter for those cases where an application doesn't need a presentation layer.
|
26
|
+
|
27
|
+
# Getting Started
|
28
|
+
|
29
|
+
1. Install Pakyow:
|
30
|
+
|
31
|
+
gem install pakyow
|
32
|
+
|
33
|
+
2. Create a new Pakyow application from the command prompt:
|
34
|
+
|
35
|
+
pakyow new webapp
|
36
|
+
|
37
|
+
3. Move to the "webapp" directory and start the application:
|
38
|
+
|
39
|
+
cd webapp; pakyow server
|
40
|
+
|
41
|
+
4. You'll find the application running here: http://localhost:3000
|
42
|
+
|
43
|
+
# Next Steps
|
44
|
+
|
45
|
+
The following resources might be handy:
|
46
|
+
|
47
|
+
Website:
|
48
|
+
http://pakyow.com
|
49
|
+
|
50
|
+
Manual:
|
51
|
+
http://pakyow.com/manual
|
52
|
+
|
53
|
+
Code:
|
54
|
+
http://github.com/metabahn/pakyow
|
data/lib/pakyow.rb
ADDED
metadata
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pakyow
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 5
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 6
|
9
|
+
- 1
|
10
|
+
version: 0.6.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Bryan Powell
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-08-20 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: pakyow-core
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - "="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 5
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
- 6
|
32
|
+
- 1
|
33
|
+
version: 0.6.1
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: pakyow-presenter
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - "="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 5
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
- 6
|
48
|
+
- 1
|
49
|
+
version: 0.6.1
|
50
|
+
type: :runtime
|
51
|
+
version_requirements: *id002
|
52
|
+
description: Pakyow web application framework.
|
53
|
+
email: bryan@metabahn.com
|
54
|
+
executables: []
|
55
|
+
|
56
|
+
extensions: []
|
57
|
+
|
58
|
+
extra_rdoc_files: []
|
59
|
+
|
60
|
+
files:
|
61
|
+
- README
|
62
|
+
- MIT-LICENSE
|
63
|
+
- lib/pakyow.rb
|
64
|
+
homepage: http://pakyow.com
|
65
|
+
licenses: []
|
66
|
+
|
67
|
+
post_install_message:
|
68
|
+
rdoc_options: []
|
69
|
+
|
70
|
+
require_paths:
|
71
|
+
- lib
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 57
|
78
|
+
segments:
|
79
|
+
- 1
|
80
|
+
- 8
|
81
|
+
- 7
|
82
|
+
version: 1.8.7
|
83
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
hash: 23
|
89
|
+
segments:
|
90
|
+
- 1
|
91
|
+
- 3
|
92
|
+
- 6
|
93
|
+
version: 1.3.6
|
94
|
+
requirements: []
|
95
|
+
|
96
|
+
rubyforge_project: pakyow
|
97
|
+
rubygems_version: 1.8.8
|
98
|
+
signing_key:
|
99
|
+
specification_version: 3
|
100
|
+
summary: Pakyow web application framework.
|
101
|
+
test_files: []
|
102
|
+
|