do it quickly is: place web2py
directory directly inside C:\, then type
cd C:\web2py
python web2py.py -s test -m
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hac
ents in
images, etc.
Anyways, I'll have a look at Concrete5 themes, to see if I can figure
out a way to quickly import and reuse them inside web2cms.
--
Samuele ~redShadow~ Santi
redshadow[at]hackzine.org - redshadowhack[
ot PHP
* To have something enterprise-ready, without needs of thousands of
modules extending missing important features from the core, thus
allowing modules to be plugged/unplugged at need, while keeping an eye
on these modules too, in order to avoid development effort
fragmentation, bad practices, etc
Python, so we agreed that it
would be cool to try building a DSN on top of the web2py-based CMS, once
stable enough (there's not that much difference between a CMS and a
social network.. it's quite just matter of additional configuration).
--
Sa
On Thu, 2011-11-24 at 20:05 +0100, Gour wrote:
> On Thu, 24 Nov 2011 19:34:52 +0100
> ~redShadow~ wrote:
>
> > * Different kind of contents (page, article, ...), referred as "node",
> > managed by the same code, but with different fields/views/behavior.
>
On Thu, 2011-11-24 at 16:56 -0200, Bruno Rocha wrote:
> Does it works on Google App Engine?
>
> I will take a look and test today!
>
> Thanks for sharing!
Thanks for testing! -- That's why I shared :)
(Long Live Open Source)
--
Samue
eep in mind that there is very few to see at the
moment (content creation, listing and display are the only things
working as I write).
Any feedback / suggestion / proposal is greatly appreciated!
--
Samuele ~redShadow~ Santi
re
wonderful world every time I
use it :)
..and I also see many other big projects moving onto it, so, even if I
know only a small part of all its features, I guess it's worth it.
So, +1 for web2py on github!
--
Samu
ted by ``strftime()``).
By the way: why does sqlite tries to parse the date with fixed format
instead of using ``datetime.datetime.strptime()``? Somebody can explain
that?
--
Samuele ~redShadow~ Santi
redshadow[at]hackzine.org
p://example.com
You can "staticize" [==get a static snapshot of] (almost) any kind of
website created by (almost) any kind of application/framework/cms/...
(I've tested that on web2py book, some Drupal sites, and some other misc
sites providing online-only documentation I wanted t
b.executesql('CREATE UNIQUE INDEX'
' unique_record_language'
' ON t9n_mytable (record, language);')
else:
pass
--
Samuele ~redShadow~ Santi
---
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hackzine.org
GPG Key signature:
050D 3E9F 6E0B 44CE C008 D1FC 166C 3
from ``form.vars``,
instead of just a ``dict``-of-``dict``s (maybe by exploding
``my[var][name]``-style subscripted vars), etc..
--
Samuele ~redShadow~ Santi
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: htt
;,
}
}
}
So, extracting trees of values becomes quite easy.
Now the question is: is there anything like this inside web2py?
I looked for it in the book and in the code, but didn't find anything..
--
Samuele ~redShadow~ Santi
---
the DAL to recreate the whole table (with SQLite, the
allowed alters are limited, sometimes table drop is needed in order to
clean up): ``db.table.truncate()``
* If you want to completely destroy and recreate the whole database,
just empty the ``databases``
h proper extensions.
That's why I didn't find it in the manpage of the new wget, doesn't
explain why I didn't find it originally.
Anyways, thanks to who suggested use of that option, absolutely needed
when creating mirror of any dynamically-served
hors about that..)
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hackzine.org
GPG Key signature:
050D 3E9F 6E0B 44C
e useful things undocumented??
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hackzine.org
GPG Key signature:
050D 3E9F 6E0B 44CE C008 D1FC 166C
r to discuss
about the important decisions that should be taken before starting the
actual development.
- should we create another mailing-list just for the cms thing, in order
to keep separate the discussions?
- Do you guys use IRC? I see a #web2py channel
, etc.)
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hackzine.org
GPG Key signature:
050D 3E9F 6E0B 44CE C008 D1FC
g, but eclipse takes some minutes
to open the file and once opened it becomes unusable; with gedit it's a
bit better but still very hard to navigate, due to the too long single
line.. [on a Core i7 M620 @2.67 GHz 8Gb RAM machine..]
--
ly on Unix
platforms (a part from macosx..?) os.path == posixpath]
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hackzine.org
GPG Key si
On Wed, 2011-11-02 at 02:46 +0100, ~redShadow~ wrote:
> [...]
For the moment, I'm using this javascript to add a "blank" button after
the datetime inputs:
// -- Add blank button right of datetime fields
$('input.datetime').each(function(){
oc = "$(
lds, or it just cannot be
done? It would be nice to have a "clear field" button, or so..
Also, I'm not sure that opening the date selector on focus (that is,
even when accessing with tab) is the most accessible way (it requires 6
more Tab presses to get on the next field..).
--
ce vserver is 7.90 EUR/month with 512MB ram and 20GB
HDD; the only disadvantage is that unless vps/linode/.. VMs are on
directly physical machines and not on a redundancy cloud, so it's a bit
less fault-tolerant; anyways, I never get any noticeable downtime, even
when they were turning off router
ilar
behavior work on all databases too..).
So, I guess the best thing for the moment is using directly pymongo
(using the ``DAL()`` just for the pooling mechanism) and subclass
``Auth`` and ``Crud`` to make them work with pymongo d
code from a CherryPy "autoreload"
component but http://www.cherrypy.org/wiki/AutoReload is a 404 and
http://docs.cherrypy.org/dev/progguide/autoreloader.html seems to work
using a clock instead of inotify to watch files, plus
pers.request = request
helpers.response = response
But I don't like having to do this each time I import that module..
Any suggestions on how to do better?
And, isn't already there something like this in the core?
--
Samuele ~redShadow~ Santi
-
ting (if you wish to).
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hackzine.org
GPG Key signature:
050D 3E9F 6E0B 44CE C008 D1FC
a pymongo.Collection object that Auth doesn't
know how to use..
For now, the two solutions I see are:
- temporarily use a sqlite database just to store users/auth stuff
- write a custom (maybe inheriting) "MongoAuth" obje
e many kinds of contributions (support, code, community,
> etc) a monetary contribution has it's own unique value and utility and
> I'm sure it will be greatly appreciated.
already done :)
(and of course I suggest doing the same, especially if you plan on using
web2py for your business..)
py.com/book
Cool.. I tried playing with something similar but none worked.
Looks like --html-extension fixed many things..
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hackzi
cursively grab pages from the online book..
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hackzine.org
GPG Key signature:
050D 3E9F 6E0B 44CE C008
on in html documents quicker, and the pages are nicer with
source highlight and stuff..
Might you please find a way to let people who bought the book also
download html documents and/or the markmin source?
This would be very handful for me and for other people, I guess..
Thank you
--
Samuele ~redSha
derstand
the exact behavior of different patterns. Quick explanation of how these
work?
--
Samuele ~redShadow~ Santi
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog
se the pymongo.Connection() in
db._adapter.connection to directly operate on the database?
I haven't tested yet (for now I'm just doing experiments, so I don't
need connection pool), but looks like this should work..
--
Samuele ~redShadow~ Santi
---
ttribute, the DTD for
HTML5 does [0], so here it is the error marked by w3c validator
defaulting to HTML5 DTD for the generic "" doctype.
[0] http://www.w3.org/TR/html5/semantics.html#standard-metadata-names
--
Samuele ~redShadow~ Santi
-
lus, everything that can modify the .pyc would probably also be able to
modify the .py directly, run malicious code directly, etc. etc..
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog:
gh the book (in chapter 6) says "Looking at the various adapters
as examples should be easy to write new ones.", looks like it isn't that
easy to understand exactly the meaning of every method, especially the
ones used to build queries..
bit stuck trying to
understand how adapters should work, by reading the source code of other
adapters..
--
Samuele ~redShadow~ Santi
----
redshadow[at]hackzine.org - redshadowhack[at]gmail.com
Blog: http://hackzine.org
GPG Key s
40 matches
Mail list logo