Profile

Cover photo
Basel Ajarmeh
Works at Varcss
Lives in Amman, Jordan
106 followers|21,017 views
AboutPostsPhotosVideos+1's

Stream

Basel Ajarmeh

Discuss & Suggestions  - 
 
Hi Guys,
I'm build rest api application on REST framework but need help me at case:

enable recursive retrieves
GET api.example.com/user/{user_id}

Read the User object and include links to lists of the sub-objects i.e.
api.example.com/user/{user_id}/channels
api.example.com/user/{user_id}/members

the /channels call would return a list of channel resources in the form (as above):
api.example.com/channel/{channel_id}
2
Gilad Golani's profile photoAntonio Oliva's profile photoBasel Ajarmeh's profile photo
3 comments
 
Suggest django rest framework like

class ChannelList(generics.ListAPIView)
    serializer_class = ChannelSerializer

    def get_queryset(self):
        queryset = Channel.objects.all()
        user_id = self.request.QUERY_PARAMS.get('user_id', None)
        if user_id is not None:
            queryset = queryset.filter(owner__pk=user_id)
        return queryset
Add a comment...

Basel Ajarmeh

Links & Videos  - 
 
Our goal for today is to build a realtime chatroom using Django, Redis, and Socket.IO. While we'll be building a chatroom the concepts can be applied to almost any web app. At a high level this post will show you how you can convert your REST based app into a realtime web app.
Realtime Django Using Node.js and Socket.IO (Posted on January 12th, 2013). Our goal for today is to build a realtime chatroom using Django, Redis, and Socket.IO. While we'll be building a chatroom the concepts can be applied to almost any web app. At a high level this post will show you how you ...
6
Add a comment...

Basel Ajarmeh

Shared publicly  - 
 
 
German solar power plants produced a world record 22 gigawatts of electricity per hour ~ equal to 20 nuclear power stations at full capacity ~ through the midday hours last Friday & Saturday.
443 comments on original post
1
Add a comment...

Basel Ajarmeh

Shared publicly  - 
 
Al Jazeera Launches Twitter Dashboard to Track Middle East Politics

Social media may have been credited with driving a lot of the uprisings and revolutions in the Middle East recently, and now it may be the best way to keep track of what’s happening in each of them. Al Jazeera has launched a Twitter dashboard that tallies daily the number of tweets about political developments in Egypt, Libya, Yemen and Bahrain, visually tracking the number of tweets from and about each region as well as the “hashtag distribution for each country.”

It’s an easy to understand system that may continue to push Al Jazeera further into the mainstream of international news coverage, following its already-lauded coverage of the Egyptian uprising. Expect to see CNN and Fox News claiming it was their idea in three… two…
Social media may have been credited with driving a lot of the uprisings and revolutions in the Middle East recently, and now it may be the best way to keep track of what's happening in each of them.
1
Add a comment...

Basel Ajarmeh

Shared publicly  - 
2
Add a comment...
Have him in circles
106 people
linda mohammed's profile photo
Ваня Матещук's profile photo
jasim lxp's profile photo
Albaean Albaean's profile photo
Abu Ali's profile photo
alaa akel's profile photo
Jack Martin's profile photo
Rob Acevedo's profile photo
Lutsia Gorelova's profile photo

Basel Ajarmeh

Links & Videos  - 
 
The goal of this project is to store a tree (comment thread) in a database. There are several ways to do this and a good list of references can be found at Stack Overflow. The algorithm I'll be using to create our threaded commenting system is called a Materialized Path.

With the Materialized Path algorithm each comment will store the path to itself. For instance, if we post a comment to an empty thread the path to the comment is {1}. Since there is only a single node in the path this also signifies that it is a parent node. If we post a reply to the parent node that comment will have the path {1, 2}. If another reply is posted to the parent node it will have the path {1, 3}. Finally we can post a comment to our second reply (first child) and it will have the path {1, 2, 4}. Here is a visual example of what the output should look like:

Comment 1 - Path: {1}
    Comment 2 - Path: {1, 2}
        Comment 4 - Path: {1, 2, 4}
    Comment 3 - Path: {1, 3}
Threaded Commenting System In Django (Posted on December 29th, 2012). The goal of this project is to store a tree (comment thread) in a database. There are several ways to do this and a good list of references can be found at Stack Overflow. The algorithm I'll be using to create our threaded ...
4
Add a comment...

Basel Ajarmeh

Discussion  - 
 
How to configuration connected to multiple databases activerecord mysql and neo4j on rails4??
3
Ibrahim Abdullah's profile photoBenjamin Iandavid Rodriguez's profile photo
2 comments
 
You can also take a look at the db_charmer gem it works great!
Add a comment...

Basel Ajarmeh

Shared publicly  - 
 
 
German solar power plants produced a world record 22 gigawatts of electricity per hour ~ equal to 20 nuclear power stations at full capacity ~ through the midday hours last Friday & Saturday.
443 comments on original post
1
Add a comment...

Basel Ajarmeh

Shared publicly  - 
1
Add a comment...

Basel Ajarmeh

Shared publicly  - 
 
Thoughts, designs, and stories.
1
Add a comment...
People
Have him in circles
106 people
linda mohammed's profile photo
Ваня Матещук's profile photo
jasim lxp's profile photo
Albaean Albaean's profile photo
Abu Ali's profile photo
alaa akel's profile photo
Jack Martin's profile photo
Rob Acevedo's profile photo
Lutsia Gorelova's profile photo
Work
Occupation
Senior Full-Stack Developer
Skills
Python, PHP, Javascript, Django, Symfony, cakePHP, Nodejs, Angularjs, MongoDB, PostgreSQL, RESTful API, WebSocket
Employment
  • Varcss
    Lead PHP Developer, 2014 - present
  • MediaPlus
    Senior PHP Developer, 2012 - 2013
  • dot.jo
    Senior Web Developer, 2011 - 2012
Basic Information
Gender
Male
Looking for
Friends, Dating, A relationship, Networking
Story
Introduction
Enthusiastic SOFTWARE ENGINEER with 4+ years experience in web development and applications analysis. Very organised, with a great ability to detect and fix bugs. leading experience.
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Amman, Jordan
Previously
Hebron, Palestine
Links
Basel Ajarmeh's +1's are the things they like, agree with, or want to recommend.
Learn2Crack | Step In to Learn
www.learn2crack.com

Learn2Crack is a website for beginners to learn some cool stuff in Linux, Android, Programming, Raspberry Pi, Tricks, API.

AngularJS — Superheroic JavaScript MVW Framework
angularjs.org

AngularJS is what HTML would have been, had it been designed for building web-apps. Declarative templates with data-binding, MVW, MVVM, MVC,

Google Cloud Platform
plus.google.com

We're building tools for modern applications.

Facebook Account Hacker V2.4 Free Download
www.downloadsfreesoftwares.com

Facebook Hack account v.2.5 2013 is a latest powerful software.Hack Facebook Acoount Software 2013 superior program will assist you to hack

Ruby on Rails
plus.google.com

Framework pro pohodlné a rychlé vytváření moderních webových aplikací.

LivePerson |
www.liveperson.com

Main menu. The Connected Customer; Industry Solutions. Industry Success Stories. Retail; Financial Services; Technology; Telco/Cable/Interne

50+ Best jQuery Carousel Roundup - tripwire magazine
www.tripwiremagazine.com

Indulge yourself with these excellent jquery carousel plugins, tutorials, and examples and surely you will find one that suits you.

plusone-button
www.google.com

العربية, български, català, 中文 ‏(简体), 中文 ‏(繁體), hrvatski, čeština, dansk, Nederlands, English ‏(UK), English ‏(US), eesti, Filipino, suomi,

Android Developers
plus.google.com

A place for Android developers everywhere to meet, share and discuss the latest on Android development

Official Site of the Premier League - Barclays Premier League News, Fixt...
www.premierleague.com

The Official Website of the Premier League with in-depth coverage of the Barclays Premier League including fixtures, club and player profile

melty.fr
plus.google.com

Retrouve les dernières actualités sur le cinéma, le sport, la musique, la télé, les people ou encore l’actualité des 4 coins du monde sur melty.fr

الرئيسية
www.france24.com

فرانس 24 الأحداث الدولية بشكل مباشر‎ الصفحة الرئيسية الرئيسية - FRANCE 24 - Monte Carlo Doualiya. الرئيسية. فرنسا. أفريقيا. أوروبا. الشرق ال

- روسيا اليوم
arabic.rt.com

RUS ENG ESP جولة في الصحافة15.11.201112:52. الاخبار. شريط الاخبار; اخبار روسيا; اخبار العالم; اخبار الشرق الاوسط. فلسطين; العراق; لبنان; الس

Barclays Premier League Table
www.premierleague.com

Arsenal · Aston Villa · Blackburn Rovers · Bolton Wanderers · Chelsea · Everton · Fulham · Liverpool · Manchester City · Manchester United ·

TIME
plus.google.com

Breaking news & current events from around the globe.

9lessons
plus.google.com

A Programming Blog

How To Create an IE-Only Stylesheet | CSS-Tricks
css-tricks.com

This article has been updated from an older version (originally Sept 24, 2007). I just wanted to expand it and make it more clear. If you re