yoel fisher

Greenhorn
+ Follow
since Jun 19, 2018
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by yoel fisher

Liutauras Vilda wrote:Welcome to the Ranch.

I'm looking to your github repository you advertised, and in particular looking to some Java project.

What kind of coding style convention(s) you are following building Java applications?



for the swing gui softwere. first i separate the logic and gui as much as i can, i try to separate concerns as much as i can in general.
i create a child class for each jframe and jpanel, this way its easier to control everything.  in the panel class i also implemented action listener interface. in that case its becuse i didnt have much user input to handle, otherwise i would of done it in a separate class. not much of an mvc pattern but something on those lines.

in general in all my programming i use refactoring principles, out of the 70+ i use 10 of them. consciously i use extract alot and search my code where i can extract a method or class. unconsciously i noticed i chack for class intimacy (class calling another class attributes and methods too much), it became part of the way i think. thers alot of things i do without realizing.

i have a few comments conventions, after a closing curly brackets i write what it ends. for methods i write a long comment for the method description, input and output(i do this for code i give other people).
sometimes i add example use of class and methods in comments. i use my own documentation i created using jquery (inspired by some other website that dose the same).

almost in every framework api i used i end up simplifying it , separating the complex stuff to a class or functions doing simple common stuff with 1 line (usually a function i created) instead of 10. probably extract method again(it became an instinct).

in game dev its different mvc dont work that good (its better for db based apps) factory pattern is great for creating stuff . my game framework is based on somthing called world entity, basicly the world is a scene with alot of entities ("actors").

i studied database design a few years ago, so i know how to create and use a rational database(mostly sql), i have a framework for crud with sql i port (also ported to java).
for user based apps i use rbac user system also ported to java from php.

my php crud class:

https://github.com/yoel123/yoel-php-simple-pdo-crud-class/blob/master/yapi/ycrud/ycrud.php



refrences to the holy refactoring bible:
https://refactoring.com/catalog/extractMethod.html

inappropriate-intimacy(will not be tolerated!):
https://refactoring.guru/smells/inappropriate-intimacy

flashpunk, a game framework i know inside out (thats how i started learning gamedev):
http://useflashpunk.net

factory pattren (example with shapes but works great with enemies bullets etc for games, its like a middelmen):
https://www.tutorialspoint.com/design_pattern/factory_pattern.htm

rbac wiki:

https://en.wikipedia.org/wiki/Role-based_access_control

i learned a lot of things over the years too much to cover, basically i do: database based  apps, gui , game programing (and sometimes just graphics for graphs) and tools (frameworks, code generators,web bots).
3 months ago
some people who contacted me asked similar questions so i will clarify them for all (faq if you like):

*"do you teach other programming languages other then java"

yes i can also teach web development: html,css,javascript,jade,sass,jqury,bootstrap,php, WordPress development (plugins and themes).

i can also teach python,c++,c# (monodevlop).

for mobile dev i use corona sdk it uses lua scripting language.

i can also teach game programming, i have a framework i created for game dev in java and js. from time to time i join game jams(like ludom dare) for fun.

if your a total beginner i suggest you start with java.

*"can you show me your github or stuff you did"

sure 45 github repos enjoy:
https://github.com/yoel123?tab=repositories
some of them are also things i did with a team (1 or two shared repos). also i didnt post all of my open source projects yet so its not all i have.

lately i have been using java to create tools:

https://github.com/yoel123/yoel-java-tut-maker-helper-softwere

i had a static tut website project, one page app , each tutorial had its own html file, it became a real drag writing it by hand so i created a tool to generate the html code.
it creates swing forms dynamically depending on your tut structure. i dont know if its the latest. but in the latest you can save projects which is realy helpfull.
took me less then a day to create (i created this sort of gui code makers before), im planning on adding an export as pdf option.

https://github.com/yoel123/yoel-jtable-js-php-example-and-helper/tree/master/helper%20softwer

another not so simple webdev project solved with java. we needed to use a free crud table framework with a commercial license. jtable.js was the best option, but it had a js nested object within nested object
for each table which made creating more then 5 tables really long and frustrating.
again gui code generation to the rescue , my software made that process much faster. i also made a jtable.js helper functions to make it easier to use the api. and a php class to handle most common server database actions (crud).

https://github.com/yoel123/yoel-java-swing-console

i was told java dosnt have something like windows console (like in c++ console programs etc) so i implemented one using swing. i made a few test programs.
also i made a book library management system to test if it will work with bigger projects .

https://github.com/yoel123/yoel-java-slick2d-framework

in game dev im used to a particular design pattern called world entity. most game engines dont have this, so i create a framework that dose what im used to.
i dont know any other way to create games with the same efficiency and order. and i will not compromise for less. i have one like it for phaser.js too.
it helped me trough alot of 48 hour game making marathons (game jams).

other then that i have created a whole java course for beginners on my pc.

as i mentioned my usual rates are 15$ for a lesson, it will rise in the future.
i decided to continue giving the first lesson for free just to remove any risk from the client/student. you can try me as a teacher for 1 free lesson.

to contact me you can use this forum pm or this google form:
https://goo.gl/forms/EioBvOw4YXilgtdc2



3 months ago
after a 100 views and paid advertising not a single person contacted me from this forum. i know there are people here that learn java and would benefit from my services.
sure one lesson wont be enough i want to make a living off tutoring , but im reasonable. my normal rates are 15$ which is very cheap.

but im giving you a chance to test my services without any risk, i see that one lesson might not be enough for you to even contact me.

so now im giving 2 free lessons for the first 5 people to contact me through here .

(in your message please write that your from the code ranch so i will know that i need to give you two free lessons).

first person to contact me will get his 3rd lesson for 10$ instead of 15$. you wont find a better deal for a java private teacher services anywhere and its for a limited time and in limited quantity.
if i was a beginner and was offerd two free lessons i would at least be interested.

the lessons will be via teamviewer so it dosnt matter where you are from. i worked with students from all around the world using my computer. if your a student in a university i can help you with your assignments i solved alot of java computer science assignments from alot of places. if you want to learn java better and your not a total beginner, i can help you learn how to use swing for gui based programs, i can also teach how to use a database and create database based applications, i can also teach you how to use design patterns like mvc and how to write better code using refactoring. i have alot to teach no matter what level you are in java. and i offer two lessons for free ther is no risk for you.

contact me for more details.

4 months ago
Tim Holloway is right.

i will say it simpler. if somone wants to use your softwere thy will install python and lua or what ever. they may even go throgh complex installations.
if your target users are programmers they wont be shay using cli with tools like grunt node.js etc etc.

now your judging a programming language on if it can create exe or not?

in the end of the day all programming languages have the same logic (machine logic). in the end its only tools and you use the one you need or like.
or whatever makes you money or brings results.
4 months ago
simple use the fat jar maker:

http://ninjacave.com/jarsplice

you can create executable for linux and mac with the same java code.

the simplest sulution
4 months ago
im a private tutor teaching programming in java. im giving away a free lesson to the first 10 students that contact me.

most tutors on the internet if they give a trail lesson it usually costs a little. with me you have no risk.
you get 1 free lesson.

here is the google form:

https://docs.google.com/forms/d/e/1FAIpQLSc014b06_uKV-d2gboZlWfBKnL9jIJHtqWrSveLtfapTVr71Q/viewform?fbzx=2410272792650503000
4 months ago
ok cool, here it is:




i also have tuts on other swing components. use hd quality to watch it.
its part of my old videos , i was not used to reading text to a mic back then.
thers also the transcript of the vid and the source code on github.
4 months ago