andrewraycode / ray-frame Goto Github PK
View Code? Open in Web Editor NEWThe AntiCMS
The AntiCMS
Being able to drag an image from your browser into a page, have it upload to the right folder, specify the thumbnail size by dragging resize handles, and auto-generating the thumbnail from it. aw yeah.
Need a form to upload files. If it is an image, this form should auto generate thumbnails at the bare minimum. Configuring thumbnail size is not a priority for v0.1, as long as it does something with them.
Inline editing needs to have a defined system. Specifically
Template should handle if / else tags, and render them as async function calls. should handle falsey statements
When inline editing a title, the URL should be updated as well to reflect the change. Maybe add to the wishlist, checking for conflicts on update.
A way to access it, layout defined, configuration options
Need to be able to
Needs to be at an interface accessible at a specific URL, or tied into the main management interface for media
A way for users to log in. Simple form living at admin access URL is acceptable.
Look into using html comments as markers and jQuery's nextuntil to grab elements in that area.
add these two fields to elements, and make default sort for lists be creationdate. update lasteditdate on edit.
create bar along bottom - toolbar for editing pages. Will flesh out with more ideas - needs save / cancel at very least I think... link to admin screen...?
There must be some way to insert media into a page. This is for both image areas and content areas. Metadata most likely should be stored in couch. folder browser?
if you do
this.append('moo');
this.append('fluff');
it becomes
str += moo;
str += fluff;
It should become str += moo + fluff;
With a getbuffer method that will take any unappened shit and fix it
go all the way through in the front end, insert, give title, open new page.
through usage determine which is better, make title > go to automatically, make title > let it be clickable ... just go to the new created thing and not show the inline creation?
I'm labeling this as 0.1 because it should be a part of the core functionality of ray frame. fields should be versioned, most likely by storing their text content in an array. media should not be versioned. I don't care if it's viewable on the front end. I just want:
Template parser is not very robust. Make sure it can handle:
right now it just does plips. fine and dandy, but needs sort=user
If you delete a page or rename a page, turn it into a pointer to the new page. define redirect handler / default template hook
needs to handle {{list:sort=name,descending}} or similar, or a custom sort function {{list:sort=userFunc}}
aspects to this:
some polish (not Polish)
Implement it if it makes sense to do so!
make sure cache functions can take page numbers, and define results per page in templates, and store those.
for example
{{list:perpage=20}}
hit at /pageWithList?page=3
should pass to the cache function {plip: list, perpage: 20, page:3} and return the right results
If you include {{bobsag}} and it doesn't exist - what happens? Can you still edit it in admin mode? Do you show nothing? What about fields wrapped in {% if bobsag %} ? Include a list of hidden fields to potentially edit?
Users need to be stored / loaded from couchdb. passwords need to be stored encrypted.
Ready for 1.0. Includes static media, tag system, form of authorship.
Implement django {% block %} tags, which are overwritable by child templates
Instead of
{{blogs:list:view=link.html:type=blog:sort=user}}
It would be nice to do
{{blogs::userList}}
plips: {
userList: {
view: 'link.html',
type; 'blog',
sort: 'user'
}
}
template tag url should output page URL correctly
if a value comes from local it shouldn't be editable
data.locals[var] || data[var] ? 'edit' + data[var] + '/edit' ? ''
brings up points:
Obviously there is conditional logic in a template. Do you pass all the data to the front end and re-render it client side? Can you specifically re-render one template? Are others affected? Refresh the whole page? AJAX in the whole page? HwaH?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.