Author Archives: prashish

Working on Placement Website

I have been working on the placement website of my college for the past couple of weeks. This site will have portals for both students and recruiters with features like registration for a company, company profiles, students’ complete profile, news feed and a complete package for the admin.

I started developing the site using WordPress CMS but I came across many useless problems like site uri fixing and other security libraries not being linked. So, I dropped the idea of WP and began developing the site from scratch (hardcore php). I used many validation, security, encryption libraries for better results.

The website is still in development phase and I will be adding more features in it.

Snaps:

Image

Image

Image

I will upload more photos soon.

IIITA Placements 2012-2013

’til then

Tagged , ,

‘QCompiler’ – SQL Syntax Checker using lex and yacc

As the name suggests, QCompiler is an SQL Syntax Checker that was build using lex and yacc. I made this in my Compiler Design Class and in ONE NIGHT! It wasn’t the best of experience but I managed to complete the mini-project with satisfactory result. The QCompiler will accept SQL Syntax embedded in html and check for any sql syntax error and also suggest proper correction.

The lex and yacc basically covers most of the SQL Commands like INSERT, DELETE, UPDATE, SELECT, GROUP BY etc. It provides the exact error like table name missing, keyword missing, variable missing, lots of parameters, keyword incorrect etc.

I have pushed the codes in my GITHUB. Be sure to check it out.

Thanks.

’til then.

Tagged , , ,

My Online Portfolio site…

Designing my online portfolio site was something I craved to since my first semester. Finally it turned into reality few months back (end of 5th semester). Better late than never eh?

Anyway, this page will summarize my interests, past works and achievements in a single page. The page was built from scratch using html/css/css3/js/jquery and photoshop.

Hope you like it. :)

Link: http://prashishrajbhandari.com.np

Screenshots

’til then

Tagged , ,

The Graph Database – The Preview

A year ago I was reading about the amazing concepts of NoSQL databases and how companies are using them to scale their websites. I was really impressed particularly at how facebook uses the concept of NoSQL Graph Databases. Then I looked up at the available Graph Databases (neo4j and infogrid) and played around with it for sometime. That made me wanting to work on a project involving graphdb somewhere in future.

Okay, this semester we needed to pick a topic for our semester project and then work on it. So, I decided why not MAKE a simple graph database not just work on the existing one. That sounded a little ambitious at first as I am just a college kid with little experience in graphdb. But this was just an attempt to make something that I wanted to.

Basically, we will be making a graph database that will work on nodes, edges and relationships. It won’t be a neo4j but it certainly will be a small, scalable and fast graph db. We started from scratch designing the class diagrams, CRCs and then thinking of ways for file storage, caching etc etc.

So far, we are half way through; done with the design and 25% coding. I won’t post my mid semester report here but I will upload my presentation and you might have some idea on this. I promise I will post more details once I’m done with this. Half way. :)


‘Til then

Tagged , , ,

The Launch of Scoop – Information Sharing Platform for IIITA Community

Scoop was launched with the motive of creating a common platform for students of IIITA to share any piece of information, news, articles, trending topics, story, facts, anything within the IIITA Community.

Scoop, the official sharing platform for IIITA, was officially launched on 6th September, 2011. Actually it was introduced onstage on 12th August 2011, Foundation Day, but due to some technical issues the launch got delayed. But everything aside, the site is finally up and running.

Talking about the feedback, people loved the concept of being able to share information, news pieces, articles, events with the IIITA Community. It gave a platform for people to broadcast any useful or interesting scoop to everyone which was not feasible from our current mailing system.

I wouldn’t like to reveal much about Scoop as it is very much restricted to the IIITA Community only. But here is a screenshot of the front-page.

Complete Release Note:

Scoop was launched with the motive of creating a common platform for students of IIITA to share any piece of information, news, articles, trending topics, story, facts, anything within the IIITA Community.

Sending mails to everyone to share small pieces of information can be pointless and it generally never yields the desired result. This is where Scoop steps in. If you want people to read an interesting article? Or if you want people to know about the amazing idea you just thought of? Or quickly inform people about a certain informal event in the campus? Or just share a quote you read? Or share the awesome hack you just learned? Or just anything.. Scoop is the platform for you.

Scoop was built to bring a change in the way we share and circulate information in IIITA.

It certainly wouldn’t be useful if the IIITA community aren’t directly involved in it. So, I would like to encourage people to share anything you find useful in Scoop. It is a request to all the Clubs to post about their events and other announcements here in Scoop.

We are thinking of handing over selected Scoop accounts like Technology News, Bollywood News, Quotes, Technology Hacks etc to groups of student so that they can share information regularly. So, I would like to invite interested students to join Scoop to make it a better platform to share knowledge. We will provide you with the credentials to all those accounts so that you can manage them in an effective manner. Remember, it is for the community.

It would be great if other developers can directly contribute in building the next version of Scoop. So, I would like to invite interested students to come and help in making Scoop better and more powerful. I cannot guarantee any kind of accolade but I can promise plenty of knowledge and experience on the way. You’ll be a part of actually building “something” for IIITA.

Lastly, I would again like to encourage all the students to share at Scoop and make IIITA a more knowledgeable community.
Prashish Rajbhandari

By the way, first ever scoop:

Lastly, Scoop is a small initiative from myself that I believe will change the way student share and circulate information in IIITA. I would also like to add that Scoop will be further developed adding more useful features in near future.

Few Feedback about Scoop:

‘Til then

( After Scoop, I have in store one last initiative at IIITA that will change the way we ………. at IIITA. WATCH THIS SPACE. Believe me, it WILL be awesome! )

Tagged , ,

श्री – Nepali Unicode

Heya everyone, this post is going to be short and very specific.

We recently launched a Nepali Unicode – श्री. ‘श्री’ because it is the first project under fortystones lab and श्री गणेश! means starting a new thing. This is our first of many to-be products at fortystones ;) . We have lots of ideas but with college work, it gets little difficult to manage extra projects. But we are getting there.. We will get there in future..

Why did we built it?

We didn’t really enjoy going to other websites for occasional नेपाली typing. So, we thought why not build one platform ourself huh? I talked about it with @rabi_shah for the first time and he was like – DUH! We then worked for a month and walllaa.. the idea turned into reality at fortystones lab. Proud moment for fortystones team.

What Next?

We are working on building Firefox addon, Google Chrome extension and Android Application for this product. We are looking for volunteers who are ready to  help us build these stuffs. If you are interested, just ping me at @prashishh. Don’t worry we will definitely make them in future. We even opensourced the code in github and we are continuously trying to make the algorithm better.

Anything more?

If you want to contact us regarding anything about this project, just ping me in one of my contacts above ;)

 

Link: Nepali Unicode

जय नेपाल!

Tagged , , , , , , ,

PHP Form Tutorial for Beginners

I have started a short tutorial to help newbies make a simple php form. The article focuses on creating a simple php form with add/view/edit/delete features in a ‘newbie’ way. This article is actually published on fortystones and this post is just a reference to it.

PHP is a very powerful language to process HTML forms. A very common use of PHP forms is to collect information from the user and process that information for further use. PHP is extensively used for form processing like feedback, contact, sending emails and a lot more.

In this tutorial, I will explain you how to make a simple php form with add, view list, view, edit and delete features. This tutorial assumes basic knowledge of HTML and PHP. Please note that this tutorial is just for understanding and practice purpose, do not use this in any live site as it does not make use of any form validation and security.

I will introduce two methods for form processing in this tutorial.

1) Two separate php pages

2) A single php page

List of all the articles:

1) PHP Form for Absolute Beginners – I

2) PHP Form for Absolute Beginners - II (View Post)

3) PHP Forms: Form Security

4) PHP Form: Validation and Security

For all the updates, follow me at @prashishh

Tagged , , , , ,

a proud moment: blog of the day(almost)…

Out of millions of WordPress.com hosted blogs! :D

This was a long time back. Also prashish’s blog appeared in Top 100 blog posts for 3 consecutive days.

Link:  Top Growing WordPress Blogs – July 6, 2010

’til then.

printing digital photographs project…

‘elo guys, Long time no see huh! This has been my usual story for few months and I always end up apologizing at the beginning of each post. I promise I’ll post regularly from next month as soon as my end semester exams gets over. :)

Last month was both extra-ordinary and exciting.. A hell lot of things happened in our college that I never imagined in my life. Past is past; difficult times. Anyways getting back to my works, I did a few projects: Scoop, Printing Digital Photographs System, Designing the Computer Center I of IIITA etc and I was offered to work in few other projects. I’ll give you more details of each in upcoming weeks. And also, I made this page so that you can get updated to all my current and past works.

Now, lets get back to this post’s topic:

This month we were assigned a mini-project in OOM (Object Oriented Methodology) for this semester(3rd). We were randomly assigned a description and we had to develop a java applet or an app of it. Also, we were asked to do extensive research in developing Use-Case Diagram, CRC Diagram and Class Diagram for our mini project (printing digital photographs project). The description is clear from the topic itself and if you want any more details you can always comment in the box below. Any help needed? just ask :)

I didn’t feel like uploading the pdf of my project description as it had my college’s name and official letter head, so I have posted it below:

A customer can have a set of digital photographs in his desktop which he/she wants to print. He/she can provide the application the path to the folder where the photographs are stored and can choose the photos that he/she wants to print and choose the size of the prints. The application will calculate the price after downloading the price information from the database for the different print sizes and show it to the user. The user will enter his/her credit card/other payment option (or choose any other mode of payment) and shipping information if he/she wants to go ahead with the order. If the credit card information is found correct, the photos are uploaded to the server and a purchase order is created in the database.

Specific Technology

Oracle, Java, Swing, JDBC for Oracle Connectivity.

Project Tasks

Class diagram, CRC, Design, Implementation, User Interface

Functional components of the project

The price information for the different print sizes will be stored in the database. The user will specify the path to the folder in his desktop which will contain the photographs in jpeg format which he wants to print. The application will show all the jpeg files in the folder to the user. The user can then choose the size(s) and the number of prints that he/she wants to print for each size for each photograph. The application will calculate the total price for the order. If the user decides to buy the prints, he/she will be asked to enter the mode of payment (credit card/ direct payment in the nearest branch office) and the shipping address. If credit card option is chosen, the credit card information will be encrypted and sent to the server for verification. The server will decrypt the credit card information and verify it. If found correct, the photos will be uploaded to the server. After completion of the  uploading, a purchase request will be created in the database. The purchase order number will be sent to the user in an email. An administrator user then can see the purchase request and can execute the same. Once the photos are printed and shipped, the directory containing these photographs will be deleted from the server. A mail notification will be sent to the user.

Here are the Use-case and Class Diagram.

’til then

follow me in twitter @prashishh

Tagged , , , , ,