These ideas are inspired on my previous experience with Ember, and they're just suggestions which I'm sure you'll take the best decision if it's a good improvement or not for this api.
@leobalter Thank you for the suggestion! I've been thinking about ways to implement this and the object form, such as
wp.posts({
id: 3782
}).get( // ...
may actually be fairly straightforward to implement. Basically, when a request object is instantiated, it will iterate through the keys of the provided object; if it has a method for that key, as there is an .id() chaining method to complement the id key, it would call that method with the value of the key in the object. I think I prefer this approach to passing in the key and variable as two separate parameters, because named arguments makes the most sense to me when there is significant specificity and creating a request object feels very general in comparison.
the way you presented is great because it works better on the single responsibility pattern and it's less magical than jQuery-like methods we are used to (e.g.: $.ajax).
Your approach seems as a great approach as you're working on a web application library.
Looking at the docs on examples like:
How about fetching only a small subset of posts and pages directly on
posts
orpages
methods as:On a future this can be also improved to pass a object with more includes like:
This proposal should regard it might conflict with a way to set what you want from the posts, let's say you only want to fetch the comments:
These ideas are inspired on my previous experience with Ember, and they're just suggestions which I'm sure you'll take the best decision if it's a good improvement or not for this api.
@leobalter Thank you for the suggestion! I've been thinking about ways to implement this and the object form, such as
may actually be fairly straightforward to implement. Basically, when a request object is instantiated, it will iterate through the keys of the provided object; if it has a method for that key, as there is an
.id()
chaining method to complement theid
key, it would call that method with the value of the key in the object. I think I prefer this approach to passing in the key and variable as two separate parameters, because named arguments makes the most sense to me when there is significant specificity and creating a request object feels very general in comparison.Thoughts?
the way you presented is great because it works better on the single responsibility pattern and it's less magical than jQuery-like methods we are used to (e.g.:
$.ajax
).Your approach seems as a great approach as you're working on a web application library.


Terms and Conditions
Terms of Use AgreementUpdated and Effective as of February 25, 2015
Welcome to the phone application (“RE:CHARGE”). This page explains the terms by which you may use our online and/or mobile services, web site, and software provided on or in connection with the service (collectively the “Service”). By accessing or using the Service, you signify that you have read, understood, and agree to be bound by this Terms of Use Agreement (“Agreement”), whether or not you are a registered user of our Service.
We reserve the right to amend this Agreement at any time by notifying you as provided in this Agreement, provided that no notice shall be required for non-substantive changes to the Agreement. If we substantively amend this Agreement, we will give you at least seven (7) days notice before the changes take effect, during which period of time you may reject the changes by terminating your account. Your continued use of the Service after any such change constitutes your acceptance of the new Terms of Use. If you do not agree to any of these terms or any future Terms of Use, do not use or access (or continue to access) the Service. This Agreement applies to all visitors, users, and others who access the Service (“Users”).
Use of Our Service and Confidentiality of Beta ServiceCompany provides a place to connect and match electric vehicle users and those with outlets to provide them with energy.
EligibilityThis Service is intended solely for Users who are thirteen (13) years of age or older, and any registration, use or access to the Service by anyone under 13 is strictly prohibited and in violation of this Agreement. If you are under 18 years of age you may use the Service only if you either are an emancipated minor or possess legal parental or guardian consent, and are fully able and competent to enter into the terms, conditions, obligations, affirmations, representations, and warranties set forth in this Agreement, and to abide by and comply with this Agreement. The Service is not available to any Users previously removed from the Service by Company.
Please contact us at<EMAIL_ADDRESS>with any questions regarding this Agreement.


Ingestion Time: 12:36 AM
This was written in the peak:
The whole thing started when I saw the expression 'day tripping' in a report. Seeing as though I had some pills left from the time I was given this medicine as a mood stabilizer I thought I'd triple the dose (I was still under the daily dosage with only 3 pills) and take it before school. Just to see how school is when I'm on a mood-altering (and mood stabilizers, strange how something given to prevent mania can make you feel so good about your surroundings) drugs. So I swallowed them with a full glass of water. btw the mindset before taking this was ok. Not anxious. Not nervous. No fears about what I'm about to do.
Here my teacher comes in so the next text was written after I got home. Great day. I also wrote in my math notebook :'16:39| 10.05.2006 Total Euphoria' (lol written in kind of a square sun). Still feeling quite happy about the world... And this is like 7 or 8 hours after the start of effects. Gee if this stuff had a comedown it would have been pretty brutal. It sort of creeped up on me. Gradually, then suddenly, with quite a mental boom. I would call the experience positive, although I did exhibit some of the side effects I.E agitation, changes in behavior and I can't even think about what kind of abnormal wacky dreams I'll have tonight.
But the stuff really is pretty neat. I envy people that get this dosage daily. I felt no pain even being punched in the arm by a boxer...I'm pretty sure it wasn't his strongest shot but he has something against me. I could feel the strong impact but it didn't bother me at all after like 2 seconds. People around say I got red after I was hit.
Anyway enough about that.
I can't really describe the feeling. Imagine if u can taking methylphenidate but with less intensity of physical stimulus. Just the feeling of blood rushing in the extremities and like seeing the world through pink glasses. That 's'all good' feeling. No troubles. No problems. Living the moment kind of feeling. I can't say I did something like as if tomorrow doesn't matter but after my behavior today I'm feeling anxious (and it's the first time in the last 24 hours) about school tomorrow. It's been like 9 hours since I swallowed the pills. I can almost feel like it's leaving my blood. Starting to feel sorry about some of the things I did today. It's my first day trip. I didn't do (and I'm glad I didn't) any particularly strange stuff. Just symptoms similar to hyperactivity.
I'm really glad it didn't make me feel like redosing. Lol I still made sure, just in case, that when I take stuff that might make me feel good that I won't even have the option of taking another dose (like when I might feel like taking another dose when on opiates, stimulants. and due to this method I make sure I can not take another dose. It's worked for me so far. And I'm happy it did) Seems like a great 'pick-me-up' drug but I'm not planning to do this in the near future 'cause I see the potential for psychological addiction. And if you don't see it just understand this question I asked myself: 'Why not take something that makes me feel this good, was prescribed particularly for me, if it's not physically addicting and the only bad side practically is that it makes me act strange'. I'm already strange as is.
I can't really describe the peak. It was like life was pink, and every breath of air I took made me feel more and more euphoric. I'm glad that subsided eventually 'cause if it hadn't I might have had a full blown mania to handle. I have never taken anything that made me feel like this. I can't understand how a mood-stabilizing drug made me feel so happy. Recalling the day, and the dose I took, I feel I have to mention this. I think placebo had a large effect on me today.
I don't know if it matters, but yesterday evening I took 2 mg of Haloperidol at home.
I don't think I have an 'addicting personality'. So far I haven't had any problems with opiates, marijuana, stimulants and anything that might cause psychological addiction. Although take under consideration that the only illegal schedule I substance I used is hashish. And all in all I haven't [yet] consumed a lot of drugs and medicines.
I think my obssesion of drugs is growing, too fast, too furious.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.


Johannes Vollmer
UI/UX Engineer
Home
Portfolio
About
Contact
Design Mockup
Recent Projects
Movie Trailer Website
Portfolio Site
Item Catalog
Neighborhood Map


Economics And Finance
Faculty Members
Profile
Name
Work
Email
Johnson Bruce
Crounse Hall—402
Send Email
Sarthak Behera
Crounse Hall – 319
Send Email
Brian Rogers
Crounse Hall – 323
Send Email
Find More
Home Page


Hour only Hours and minutes Hours, minutes, seconds
Show AM/PM
Daytime Evening Late night Sunrise Bright Green
Done